1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
Commit Graph

10272 Commits

Author SHA1 Message Date
Rob Rix
f723b576e1 Pass the getter in. 2017-02-10 12:59:22 -05:00
Rob Rix
ad5d659941 Cut down on crossing the FFI. 2017-02-10 12:58:15 -05:00
Rob Rix
5688c2b447 Pre-slice the source passed to toTerm. 2017-02-10 12:26:02 -05:00
Rob Rix
9bcabf21b7 Extract a function to retrieve the range for a node. 2017-02-10 12:24:10 -05:00
Rob Rix
8e1095535a Update the 📝 for Source. 2017-02-10 11:24:38 -05:00
Rob Rix
7ea240414b Rename some bindings. 2017-02-10 11:24:31 -05:00
Rob Rix
bc2a29d84e Source is no longer parametric in the character type. 2017-02-10 11:21:24 -05:00
Rob Rix
2c0b19dd6f Rename getVector to unSource. 2017-02-10 11:15:49 -05:00
Rob Rix
35c39e8b56 Change subtractRange to offsetRange.
This has slightly clearer semantics.
2017-02-10 11:11:25 -05:00
Rob Rix
3d975ece64 Move totalRange to Source properly. 2017-02-10 11:08:17 -05:00
Rob Rix
fa8bc84921 Bump tree-sitter. 2017-02-10 11:06:23 -05:00
Rob Rix
e85eb49e0e Tidy up the imports a bit. 2017-02-10 11:02:38 -05:00
Rob Rix
060680f070 🔥 a redundant import. 2017-02-10 09:32:10 -05:00
Rob Rix
42871bcc94 Fix do notation. 2017-02-10 09:28:57 -05:00
Rob Rix
9e80427458 Bump. 2017-02-10 09:27:42 -05:00
Rob Rix
2108d7287a Use the new input string with length API. 2017-02-10 09:23:51 -05:00
Rob Rix
c7366062b4 Bump haskell-tree-sitter. 2017-02-10 09:22:52 -05:00
Rob Rix
04c22650a2 Bump haskell-tree-sitter for explicit input length API. 2017-02-10 09:15:54 -05:00
Timothy Clem
f4a10a4c3f Use blobToByteString 2017-02-09 21:31:55 -08:00
Timothy Clem
d6796afd6f Pass Text to tree-sitter 2017-02-09 21:31:29 -08:00
Timothy Clem
905fdea0a2 Put back detect 2017-02-09 21:30:48 -08:00
Timothy Clem
c485c0ab55 Try the default converter 2017-02-09 16:18:19 -08:00
Timothy Clem
e92c43224e Don't use Char8 ByteStrings 2017-02-09 15:01:15 -08:00
Timothy Clem
7ba739a508 Properly calculate range for subterms 2017-02-09 14:47:35 -08:00
Rob Rix
ac4df9a7b3 Remove the Foldable instance for Source. 2017-02-09 17:10:16 -05:00
Rob Rix
0f0e65043e Give up and disable AlignmentSpec. 2017-02-09 16:45:11 -05:00
Rob Rix
eeddc8640e Try to get AlignmentSpec to use Text. 2017-02-09 16:45:04 -05:00
Rob Rix
70185f4695 Source wraps Text instead of Vector. 2017-02-09 16:33:47 -05:00
Rob Rix
fe22126059 Pre-slice the source. 2017-02-09 16:33:33 -05:00
Rob Rix
c07583057b Fix the integration tests. 2017-02-09 13:35:21 -05:00
Rob Rix
4c0d51a56e Merge remote-tracking branch 'origin/master' into cache-and-discard-feature-vectors 2017-02-09 13:00:21 -05:00
Rob Rix
2e386dc76f Merge remote-tracking branch 'origin/master' into cache-and-discard-feature-vectors 2017-02-09 10:16:14 -05:00
Timothy Clem
6c1eb73c74 Merge pull request #988 from github/empty-lang
Set LANG to utf8 if it's the empty string
2017-02-08 15:32:37 -08:00
joshvera
30029f3640 no tabs 2017-02-08 18:28:43 -05:00
joshvera
7df0f0ab6e Set LANG to utf8 if it's the empty string 2017-02-08 18:23:10 -05:00
Rob Rix
6de5e73219 Inline the definition of termVector. 2017-02-08 15:47:50 -05:00
Rob Rix
ce59dfba8b Merge remote-tracking branch 'origin/master' into cache-and-discard-feature-vectors 2017-02-08 15:44:52 -05:00
Rob Rix
7aed25cccd Remove the fallback to termVector, as it’s redundant. 2017-02-08 12:18:17 -05:00
Rob Rix
d9e44ede6c 📝 modifyAnnotations. 2017-02-08 12:04:05 -05:00
Rob Rix
051916082a Correct a misleading comment. 2017-02-08 12:03:50 -05:00
Rob Rix
f19a1fdfbf Add a function to modify the annotation of a top-level diff node. 2017-02-08 12:03:10 -05:00
Rob Rix
d102c6a13a Don’t re-erase vectors. 2017-02-08 11:54:14 -05:00
Rob Rix
223b836612 Erase feature vectors for the empty/nonempty cases. 2017-02-08 11:53:19 -05:00
Josh Vera
6cf8def01f Merge pull request #986 from github/fix-go-method-receiver
Fix ordering of go Method shape in termAssignment
2017-02-08 11:51:25 -05:00
Timothy Clem
1bde86531e Fix ordering of go Method shape in termAssignment 2017-02-08 08:43:04 -08:00
Rob Rix
398bb62d16 Merge remote-tracking branch 'origin/master' into cache-and-discard-feature-vectors 2017-02-08 11:36:52 -05:00
Rob Rix
93937a1bf9 Fix the tests. 2017-02-08 11:15:37 -05:00
Josh Vera
ad23047c91 Merge pull request #984 from github/one-more-tree-sitter-ruby-bump
++tree-sitter-ruby
2017-02-08 11:01:49 -05:00
Timothy Clem
660104e874 ++tree-sitter-ruby 2017-02-08 07:53:44 -08:00
Rob Rix
33e533cf29 Merge pull request #982 from github/update-ruby
Bump tree-sitter-ruby
2017-02-08 07:27:47 -05:00