1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 07:25:44 +03:00
Commit Graph

2816 Commits

Author SHA1 Message Date
Rob Rix
2b06e3cc10 Implement bimap over Row.
`Row` isn’t actually a proper `Bifunctor` because it doesn’t have type
parameters, but we can still implement the function ourselves.
2015-12-04 10:00:25 -05:00
Rob Rix
e60379300f Remove the unused one line unchanged indexed source/range bindings. 2015-12-04 09:50:12 -05:00
Rob Rix
35c573e00b Test the rows generated for single line empty unchanged indexed nodes. 2015-12-04 09:49:34 -05:00
Rob Rix
89afcac011 Use the unchanged API. 2015-12-04 09:46:58 -05:00
Rob Rix
b5bb6c952b Add a convenience for constructing unchanged Annotated terms. 2015-12-04 09:46:24 -05:00
Rob Rix
b5c8f82e52 Remove lineRange & cats. 2015-12-04 09:45:00 -05:00
Rob Rix
d91e5c36ea Use the info convenience. 2015-12-04 09:44:54 -05:00
Rob Rix
1902822257 Add a convenience for constructing info. 2015-12-04 09:44:09 -05:00
Rob Rix
0d9298418e Use the convenience in the single-line unchanged leaves test. 2015-12-04 09:42:57 -05:00
Rob Rix
3a8f02f163 Add a convenience for the categories. 2015-12-04 09:42:42 -05:00
Rob Rix
43691b9473 Add source/range for a single line indexed string. 2015-12-04 09:41:11 -05:00
Rob Rix
d3c9c2ce89 Rename the line range variable. 2015-12-04 09:40:38 -05:00
Rob Rix
19ff0415d6 Add a convenience to construct the complete range of a list. 2015-12-04 09:20:23 -05:00
Rob Rix
ec210b13f7 Test annotatedRows output for single-line leaves. 2015-12-04 09:16:23 -05:00
Rob Rix
1d54750bd4 The tests depend on containers. 2015-12-04 09:16:01 -05:00
Rob Rix
9e554a04cc Alphabetize. 2015-12-04 09:15:54 -05:00
Rob Rix
4ccaa65f82 Describe adjoinRows. 2015-12-04 09:00:40 -05:00
Rob Rix
2c36e0cc7c Rename annotationAndSyntaxToRows to annotatedToRows. 2015-12-03 17:57:26 -05:00
Rob Rix
08f343b54f Merge pull request #262 from github/comments-as-siblings-of-statements
Bump tree-sitter for comments as siblings of statements fix
2015-12-03 17:47:55 -05:00
joshvera
5ba94cb2b5 ++tree-sitter-c 2015-12-03 17:43:31 -05:00
joshvera
dbec2b2cae ++tree-sitter-javascript for libtree-sitter-js.a bump 2015-12-03 17:34:51 -05:00
joshvera
2f291a7411 ++tree-sitter for maxbrunsfeld/tree-sitter#11 2015-12-03 17:31:08 -05:00
Rob Rix
1b2f5a6786 Pass the annotation to annotationAndSyntaxToRows. 2015-12-03 16:35:28 -05:00
Rob Rix
15481e317d Rename accumualteContext to sumRows. 2015-12-03 16:30:40 -05:00
Rob Rix
fd0245129d Unpack the child elements in the where clause. 2015-12-03 16:29:42 -05:00
Rob Rix
e250dd74af Use the correct string. 2015-12-03 16:29:17 -05:00
Rob Rix
db994a1b6f Remove splitHTMLIntoLines and friends. 2015-12-03 16:26:51 -05:00
Rob Rix
bdc6c7625e Remove Line. 2015-12-03 16:25:17 -05:00
Rob Rix
6c273c30c8 Remove adjoinLines. 2015-12-03 16:25:11 -05:00
Rob Rix
4697f87a88 Migrate the tests to adjoinRows. 2015-12-03 16:24:35 -05:00
Rob Rix
6750c251b6 Adjoin non-empty lists of rows. 2015-12-03 16:11:21 -05:00
Rob Rix
db1a4490ee Row is defined over two lists of HTML elements. 2015-12-03 16:11:21 -05:00
Rob Rix
157d421953 Remove the commented examples. 2015-12-03 16:11:21 -05:00
Rob Rix
041eec6eff Merge pull request #258 from github/select-grammar
Select a grammar based on file extension
2015-12-03 15:55:03 -05:00
joshvera
d7089ec506 Remove unused parser type 2015-12-03 15:54:41 -05:00
joshvera
395eee7f7c Merge remote-tracking branch 'origin/split-diffs-in-haskell' into select-grammar 2015-12-03 15:50:26 -05:00
joshvera
5772279644 use tree-sitter-js fork 2015-12-03 15:47:16 -05:00
joshvera
fae0a806f3 use ts_language_javascript 2015-12-03 15:44:08 -05:00
joshvera
d43ced80f5 we just say ts_language_javascript 2015-12-03 15:34:41 -05:00
joshvera
268e89b018 ++tree-sitter-javascript 2015-12-03 15:32:34 -05:00
joshvera
79f2f94c2c Add ts_language_js as a language 2015-12-03 15:21:34 -05:00
joshvera
c20ea6ee78 Switch parsers on mediaType 2015-12-03 15:10:49 -05:00
joshvera
370fbe4819 remove duplicate imports 2015-12-03 14:03:10 -05:00
Rob Rix
dd7450ff6e Stub in adjoinRows with the identity case. 2015-12-03 12:26:36 -05:00
Rob Rix
9ac697834e Row is Equatable and can be Shown. 2015-12-03 12:26:25 -05:00
Rob Rix
56a8386473 Append the last on the left to the first on the right. 2015-12-03 12:13:47 -05:00
Rob Rix
9459b28935 Destructure and append the first lines only. 2015-12-03 12:09:28 -05:00
Rob Rix
ea58415617 Test the multiple line cases. 2015-12-03 12:07:03 -05:00
Rob Rix
dc71ae150d Identity case. 2015-12-03 12:03:16 -05:00
Rob Rix
b1c593173f Test that empty lines are the left unit with multiple lines. 2015-12-03 11:58:34 -05:00