1
1
mirror of https://github.com/github/semantic.git synced 2025-01-04 05:27:08 +03:00
Commit Graph

3758 Commits

Author SHA1 Message Date
Rob Rix
24998db34e Range’s fields are strict. 2015-12-23 17:41:35 -05:00
Rob Rix
a8578ccbf8 Force the evaluation of the start & end of the range. 2015-12-23 17:39:40 -05:00
Rob Rix
eb908e4fa2 Compute the range in-place. 2015-12-23 17:39:13 -05:00
Rob Rix
08c2d72803 Force the evaluation of the range. 2015-12-23 17:38:09 -05:00
Rob Rix
aca7b55784 Capture the range in a temporary. 2015-12-23 17:37:42 -05:00
Rob Rix
76e1f042c8 getChild calls toTerm directly. 2015-12-23 10:47:15 -05:00
Rob Rix
308e561693 Use take to specify a half-open interval. 2015-12-23 10:43:41 -05:00
Rob Rix
a32de11218 Spacing. 2015-12-23 10:34:40 -05:00
Rob Rix
038d0b6ff6 Implement the Storable instance for TSNode in terms of its CStorable instance. 2015-12-23 10:34:08 -05:00
Rob Rix
44ba628c71 Add a default CStorable instance for TSNode. 2015-12-23 10:33:52 -05:00
Rob Rix
ae92b20a7c Derive a Generic instance for TSNode. 2015-12-23 10:33:36 -05:00
Rob Rix
21ac483558 DeriveGeneric. 2015-12-23 09:58:46 -05:00
Rob Rix
6edd7453e4 Attempt to depend on c-storable-deriving again. 2015-12-23 09:57:15 -05:00
Rob Rix
a938d072c0 Remove TSLength. 2015-12-23 09:52:09 -05:00
Rob Rix
f75a0f25f3 Move range into the where clause. 2015-12-23 09:50:54 -05:00
Rob Rix
5b685f7ce3 Remove withNamedChildren. 2015-12-23 09:50:19 -05:00
Rob Rix
8550676c42 Inline withNamedChildren in toTerm. 2015-12-23 09:49:55 -05:00
Rob Rix
988a8d825f TSNode is no longer defined over TSLength, but over CSize values instead. 2015-12-23 09:45:49 -05:00
Rob Rix
eecb291c02 Merge branch 'split-property-tests' into split-refactoring 2015-12-22 19:12:10 -05:00
Rob Rix
4c7393c2d3 Merge branch 'master' into split-property-tests 2015-12-22 19:11:56 -05:00
Rob Rix
3a6cef41d7 Merge pull request #358 from github/bump-the-parsers
Bump the parsers
2015-12-22 19:10:28 -05:00
Rob Rix
59f3efc9ff Bump tree-sitter-parsers back to master since the PR was merged. 2015-12-22 19:08:55 -05:00
Rob Rix
e1a84e2ab1 Increase the size of TSNode to match the current definition.
See also
https://github.com/maxbrunsfeld/tree-sitter/blob/master/include/tree_sit
ter/runtime.h#L38-L41
2015-12-22 19:06:51 -05:00
Rob Rix
edc519c7f1 Bump tree-sitter-parsers to bumps. 2015-12-22 19:06:07 -05:00
Rob Rix
773f98c13e Remove codeTd. 2015-12-22 18:24:20 -05:00
Rob Rix
3f2af1826a Remove the ToMarkup instance for Line. 2015-12-22 18:23:58 -05:00
Rob Rix
91bf531af9 Mark up empty code cells directly. 2015-12-22 18:23:34 -05:00
Rob Rix
cbd0987010 Mark up the code cell inline too. 2015-12-22 18:22:33 -05:00
Rob Rix
ac867437f0 Handle the hasChanges case inline. 2015-12-22 18:20:20 -05:00
Rob Rix
124ff65c91 Remove the pattern matches on Line. 2015-12-22 18:19:30 -05:00
Rob Rix
759b008000 Revert "Define toMarkup over Bool/Int/Line triples by pattern matching."
This reverts commit 7f5f4ca3e690ccab67ac4d1536d80c415e51b791.
2015-12-22 18:18:19 -05:00
Rob Rix
985afd797b Revert "Remove the old definitions."
This reverts commit bdc9d50a5bf0e05ea6cd04e5603ab85911cc4314.
2015-12-22 18:18:15 -05:00
Rob Rix
1241cbeff9 Revert "Inline the cell class."
This reverts commit 2e484d1dbd3c694165bdcff6a32486256d93041e.
2015-12-22 18:18:10 -05:00
Rob Rix
30c281c185 Inline the cell class. 2015-12-22 18:14:36 -05:00
Rob Rix
fbda7e11c1 Remove the old definitions. 2015-12-22 18:14:01 -05:00
Rob Rix
cfe2cd336e Define toMarkup over Bool/Int/Line triples by pattern matching. 2015-12-22 18:13:43 -05:00
Rob Rix
de1482af2c Remove numberTd. 2015-12-22 18:06:49 -05:00
Rob Rix
6c6139aac9 Don’t depend on numberTd. 2015-12-22 18:06:42 -05:00
Rob Rix
9b87a785b5 No need to unLine. 2015-12-22 17:59:26 -05:00
Rob Rix
cd5abba743 Derive a Foldable instance for Line. 2015-12-22 17:58:11 -05:00
Rob Rix
946b1067b3 Use or to test for changes. 2015-12-22 17:57:16 -05:00
Rob Rix
b25da81f81 Remove toRenderable. 2015-12-22 17:56:28 -05:00
Rob Rix
c83c67cc99 Remove the Int, Line pair instance of ToMarkup. 2015-12-22 17:56:19 -05:00
Rob Rix
02afbd132a Remove the Int, Line, Int, Line instance of ToMarkup. 2015-12-22 17:56:10 -05:00
Rob Rix
44e04ec17f Render numbered lines to markup using the new function. 2015-12-22 17:55:54 -05:00
Rob Rix
e974ea43af Add a function to render numbered lines to markup with indication of changes. 2015-12-22 17:55:30 -05:00
Rob Rix
b89218a944 Add a ToMarkup instance over Bool/Int/Line a triples. 2015-12-22 17:55:03 -05:00
Rob Rix
e9c7c46130 Add a function to test for changes in a diff. 2015-12-22 17:54:01 -05:00
Rob Rix
7e98ee3de5 Add a function to map a line into a Renderable line. 2015-12-22 17:53:47 -05:00
Rob Rix
b165994569 Move adjoinRowsBy into the Row module. 2015-12-22 17:27:56 -05:00