1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 17:32:05 +03:00
Commit Graph

29559 Commits

Author SHA1 Message Date
Rob Rix
290345fc43
Copy in Blob, Language, Range, Source, and Span. 2019-09-18 17:58:05 -04:00
Rob Rix
82beaa501f
🔥 offsetRange. 2019-09-18 17:57:44 -04:00
Rob Rix
4a5d9d9e4a
Copy Span, Pos, and Tag in.
Span & Pos should likely live in semantic-ast eventually, while Tag will live in semantic-tags.
2019-09-18 17:20:01 -04:00
Rob Rix
48cd097a6b
Define a Python newtype wrapping a module. 2019-09-18 17:02:20 -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
Rob Rix
b7f9b4ea20
Depend on tree-sitter & tree-sitter-python. 2019-09-18 14:56:56 -04:00
Rob Rix
d04f363ee7
Stub in a module for precise taggable terms. 2019-09-18 14:55:44 -04:00
Rob Rix
7ce308efa2
Stub in a tags package. 2019-09-18 14:52:27 -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
Rob Rix
1311863d00
Merge pull request #258 from github/less-taggable-codegen
Less Taggable codegen
2019-09-18 14:13:41 -04:00
Patrick Thomson
483494ccfd Remember to call locate on False. 2019-09-18 13:52:00 -04:00
Patrick Thomson
fc98de9e4d Change wording of justification for CoreSyntax type. 2019-09-18 13:51:45 -04:00
Patrick Thomson
da5bb84b05 Remove tree-sitter dependency from semantic-core. 2019-09-18 13:49:04 -04:00
Patrick Thomson
302add6c5e Define annWith with annAt. 2019-09-18 13:43:36 -04:00
Patrick Thomson
962cd5d5de Restore spacing. 2019-09-18 13:43:31 -04:00
Rob Rix
36a3401e98
Merge branch 'master' into less-taggable-codegen 2019-09-18 13:05:41 -04:00
Patrick Thomson
2aea021890 Use some tree information in a unit test. 2019-09-18 13:05:10 -04:00
Rob Rix
7eb8beb3b0
Revert "Export subtractLocation."
This reverts commit d7cc25fcf5.
2019-09-18 13:01:39 -04:00
Rob Rix
4fe75d87a4
🔥 the default definitions for Taggable since they’d always be wrong. 2019-09-18 13:00:52 -04:00
Rob Rix
586db55ab3
Correct the docs. 2019-09-18 12:57:21 -04:00
Rob Rix
865f0e4c2d
Switch over to the advanced overlap mechanism for Taggable instances. 2019-09-18 12:56:48 -04:00
Rob Rix
385bc2bf4d
Define the rest of the custom TaggableBy instances. 2019-09-18 12:53:30 -04:00
Rob Rix
975d894339
Define a custom TaggableBy instance for Syntax.Context. 2019-09-18 12:50:41 -04:00
Rob Rix
05c1a724ab
Define a custom TaggableBy instance for TermF. 2019-09-18 12:49:30 -04:00
Rob Rix
3ea6914128
Define a custom TaggableBy instance for Sum. 2019-09-18 12:47:26 -04:00
Rob Rix
94b715383c
Move the default definitions into TaggableBy. 2019-09-18 12:44:41 -04:00
Rob Rix
5b261b5ffd
Define a default TaggableBy instance. 2019-09-18 12:44:02 -04:00
Rob Rix
8756897833
Stub in a type family for selecting a Strategy. 2019-09-18 12:43:54 -04:00
Rob Rix
dc3774047d
Define an advanced-overlappable Taggable class. 2019-09-18 12:41:22 -04:00
Rob Rix
d3a462aaf7
Use the constraint synonym. 2019-09-18 12:39:49 -04:00
Rob Rix
d4773d2431
🔥 a redundant Traversable constraint. 2019-09-18 12:39:01 -04:00
Rob Rix
222aff395e
🔥 Show1 as a superclass of Taggable. 2019-09-18 12:37:46 -04:00
Rob Rix
eb2c17be38
🔥 Traversable as a superclass of Taggable. 2019-09-18 12:36:37 -04:00
Patrick Thomson
99a7806c20 Fix tests. 2019-09-18 12:35:54 -04:00
Patrick Thomson
0dafd1ef7f Make syntax instances preserve their location. 2019-09-18 12:35:34 -04:00
Patrick Thomson
b460c6e452 Add 'locate'. 2019-09-18 12:35:21 -04:00
Rob Rix
6ca0fd8e9d
🔥 redundant constraints. 2019-09-18 12:29:56 -04:00
Rob Rix
662a324061
🔥 redundant language extensions. 2019-09-18 12:28:00 -04:00
Rob Rix
9da576ecdc
Revert "Factor the Taggable instances for TSX/TypeScript into the syntax modules."
This reverts commit de9b171d55.
2019-09-18 12:21:51 -04:00
Rob Rix
962f46db48
Revert "Move the Taggable instances for Data.Syntax out."
This reverts commit a30be6b59c.
2019-09-18 12:21:46 -04:00
Rob Rix
f017e4ac7c
Revert "Move the Taggable instances for Data.Syntax.Type out."
This reverts commit d35321cb70.
2019-09-18 12:21:43 -04:00
Rob Rix
efa83c3036
Revert "Move the Taggable instances for Data.Syntax.Comment out."
This reverts commit 211e2754d0.
2019-09-18 12:21:39 -04:00
Rob Rix
9e20ab8fc4
Revert "Move the Taggable instances for Markdown out."
This reverts commit 08108c9a92.
2019-09-18 12:21:36 -04:00
Rob Rix
399799bedd
Revert "Move the Taggable instances for PHP out."
This reverts commit f560f70403.
2019-09-18 12:21:32 -04:00
Rob Rix
decc1baf6f
Revert "Move the Taggable instances for Java out."
This reverts commit 8a5a89d779.
2019-09-18 12:21:22 -04:00