1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

224 Commits

Author SHA1 Message Date
Rob Rix
92cbad56fe Document why strict application. 2015-12-23 17:54:28 -05:00
Rob Rix
319bbecfdb We no longer need to force the evaluation of range. 2015-12-23 17:52:04 -05:00
Rob Rix
fe347b3f07 Just force the evaluation of range now that it’s strict. 2015-12-23 17:41:55 -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
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
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
joshvera
b047f014b8 languageForType takes a text 2015-12-18 14:48:52 -05:00
joshvera
cfc4a97f9d Merge remote-tracking branch 'origin/master' into use-bytestrings 2015-12-18 14:43:25 -05:00
Rob Rix
5f5b69d13e 🔥 a redundant import of Syntax. 2015-12-17 16:35:12 -05:00
Rob Rix
355aa47c50 Update to use the new bridge API. 2015-12-17 14:56:43 -05:00
Rob Rix
96f189719a Move TreeSitter into the library. 2015-12-17 12:54:27 -05:00