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

29395 Commits

Author SHA1 Message Date
Patrick Thomson
7b599a6499 Use Source.Source instead of Data.Source. 2019-09-20 15:51:49 -04:00
Patrick Thomson
948deb489f Fixup remaining test cases. 2019-09-20 15:47:08 -04:00
Patrick Thomson
d929a8c78a Make Data.Source reexport Source.Source. 2019-09-20 15:39:39 -04:00
Rob Rix
ca6a785ae3
Flip lineRangesWithin. 2019-09-20 15:24:57 -04:00
Rob Rix
8aae3128c6
Rename the Source symbols and recommend importing it qualified. 2019-09-20 15:21:51 -04:00
Rob Rix
b20dcf4a19
Copy Source in. 2019-09-20 15:13:50 -04:00
Rob Rix
f6e4864836
Move the span/range stuff into CMark. 2019-09-20 15:03:26 -04:00
Rob Rix
0f8e69c72f
Switch everything over to using Source.Loc. 2019-09-20 14:51:48 -04:00
Rob Rix
17c61c19d1
Switch everything over to using Source.Span. 2019-09-20 14:38:03 -04:00
Rob Rix
1d5e15010f
Switch everything over to using Source.Range. 2019-09-20 14:28:25 -04:00
Rob Rix
cc820515fa
Depend on semantic-source. 2019-09-20 14:27:59 -04:00
Rob Rix
2748529c13
Copy Location in as Loc. 2019-09-20 14:16:42 -04:00
Rob Rix
81f43c9881
Move the ToJSONFields instance for Location into Data.JSON.Fields. 2019-09-20 14:08:41 -04:00
Rob Rix
ddef7139f6
Copy Span in. 2019-09-20 14:00:33 -04:00
Rob Rix
325e1f13cc
Derive a Hashable instance for Range. 2019-09-20 13:59:29 -04:00
Rob Rix
4e40108760
Copy Range in. 2019-09-20 13:33:21 -04:00
Rob Rix
a126e39a8b
Use the right dir for the doctests. 2019-09-20 13:30:35 -04:00
Rob Rix
2c99f097a4
Link the doctests against QuickCheck. 2019-09-20 13:27:16 -04:00
Rob Rix
57ab2f6792
Link the doctests against the lib. 2019-09-20 13:27:09 -04:00
Rob Rix
10e4bbb5a6
Move the ToJSONFields instance for Span into Data.JSON.Fields. 2019-09-20 12:18:56 -04:00
Rob Rix
5802d4678d
Move the ToJSONFields instance for Range into Data.JSON.Fields. 2019-09-20 12:18:48 -04:00
Rob Rix
a66f459a09
Merge branch 'master' into semantic-source 2019-09-20 12:12:05 -04:00
Rob Rix
974e2ca0ea
Define a semantic-source package. 2019-09-20 12:03:14 -04:00
Rob Rix
4d7fefed07
Merge pull request #265 from github/fixed-range-ord-instance
Fixed Range Ord instance
2019-09-20 11:46:25 -04:00
Patrick Thomson
9c957cdfff
Merge branch 'master' into fixed-range-ord-instance 2019-09-20 11:13:22 -04:00
Patrick Thomson
cc19d78d7c
Merge pull request #264 from github/bump-tsx-parser
++tree-sitter-typescript/tsx
2019-09-20 11:12:04 -04:00
Rob Rix
2ec2461bcd
🔥 intersectsRange. 2019-09-20 08:54:36 -04:00
Rob Rix
775f6a131c
🔥 offsetRange. 2019-09-20 08:53:16 -04:00
Rob Rix
7bb8fe4aaf
Derive the Ord instance for Range. 2019-09-20 08:52:36 -04:00
Patrick Thomson
373057e7fd Revert to old way of parsing call_signature nodes.
Fixes #256.
2019-09-19 17:51:16 -04:00
Timothy Clem
09413a7259
Merge branch 'master' into bump-tsx-parser 2019-09-19 14:21:24 -07:00
Timothy Clem
df74b485e9 ++tree-sitter-typescript/tsx 2019-09-19 14:20:04 -07:00
Patrick Thomson
cd91d888a5
Merge pull request #259 from github/provide-path-info
Provide path information in Core annotations.
2019-09-19 16:53:57 -04:00
Patrick Thomson
611877ad00 An infix fmap is cleaner here. 2019-09-19 15:35:25 -04:00
Patrick Thomson
2c24ee2539 Omit otiose default signature. 2019-09-19 15:35:08 -04:00
Patrick Thomson
a89cd0dad9 Eliminate inefficient RelPath->String->Text conversion. 2019-09-19 15:31:04 -04:00
Patrick Thomson
f6ee2b9ffe Merge remote-tracking branch 'origin/master' into provide-path-info 2019-09-19 15:20:12 -04:00
Timothy Clem
b3feb91d4e
Merge pull request #261 from github/remove-rts-options
No need for custom RTS options
2019-09-19 09:45:49 -07:00
Rob Rix
54a9436989
Merge branch 'master' into remove-rts-options 2019-09-19 12:25:10 -04:00
Timothy Clem
dd3eb649f5 No need for custom RTS options 2019-09-19 09:19:23 -07:00
Patrick Thomson
aaa73b20f2
Merge branch 'master' into provide-path-info 2019-09-19 08:22:04 -04:00
Rob Rix
94b99c9fdd
Merge pull request #260 from github/tree-parse-directive
Add a CHECK-TREE directive and simplify esoteric jq tests.
2019-09-18 19:52:39 -04:00
Patrick Thomson
d9f88fc046 Add a CHECK-TREE directive and simplify esoteric jq tests.
Due to the problems outlined in #245, the tests for return statements
were complicated and not testing useful properties. This patch adds a
new `CHECK-TREE` directive which lets you embed a Core expression
as a string, which is parsed and then compared against the result of
compiling the containing module.
2019-09-18 18:07:43 -04:00
Patrick Thomson
5489eced88
Merge branch 'master' into provide-path-info 2019-09-18 15:06:55 -04:00
Patrick Thomson
8dc4db0e21 No more filepath dependency. 2019-09-18 15:03:16 -04:00
Patrick Thomson
b94b3448c4 Ensure filename information is yielded in locate. 2019-09-18 14:51:06 -04:00
Patrick Thomson
328d1ac251 Everyone gets to depend on text. 2019-09-18 14:50:28 -04:00
Patrick Thomson
0dc0a534c6 Start using typed paths in tests. 2019-09-18 14:41:58 -04:00
Rob Rix
0695e85b59
Merge pull request #257 from github/use-term-annotations
semantic-python: preserve span annotation information
2019-09-18 14:31:16 -04:00
Patrick Thomson
230b58e6ff
Merge branch 'master' into use-term-annotations 2019-09-18 14:16:52 -04:00