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

29731 Commits

Author SHA1 Message Date
Rob Rix
76cb8480a0
Use the correct parser. 2019-09-27 19:51:45 -04:00
Rob Rix
f03000a6fb
Generalize renderPreciseToSymbols. 2019-09-27 19:42:37 -04:00
Rob Rix
9585226bb7
Add precise tagging support for Java. 2019-09-27 19:09:09 -04:00
Rob Rix
c81f9660f4
Define a precise Java parser. 2019-09-27 19:08:14 -04:00
Rob Rix
5db7c6a6ee
Rename the import of Language.Python. 2019-09-27 19:07:05 -04:00
Rob Rix
ac0f15103f
Add a field for a Java mode. 2019-09-27 19:06:19 -04:00
Rob Rix
1ec65b4858
Define a constructor for the default language modes. 2019-09-27 19:02:14 -04:00
Rob Rix
9f82d6ad0e
Define a custom ToTagsBy instance for MethodInvocation. 2019-09-27 18:52:40 -04:00
Rob Rix
a4ebd26e25
Correct the kinds. 2019-09-27 18:51:12 -04:00
Rob Rix
074967337a
Define a custom ToTagBy instance for ClassDeclaration. 2019-09-27 18:48:48 -04:00
Rob Rix
1d8e0cdc3d
Factor out a helper to compute tags generically. 2019-09-27 18:45:40 -04:00
Rob Rix
0b7f87dc11
Define a custom ToTagsBy instance for Java.Program.
This is primarily to avoid having to set -freduction-depth=0 in Language.Java.
2019-09-27 18:43:29 -04:00
Rob Rix
3d93a5d947
Turn off the reduction depth limit. 2019-09-27 18:42:53 -04:00
Rob Rix
a0690fa224
Make semantic depend on semantic-java. 2019-09-27 18:35:50 -04:00
Rob Rix
a2cf763f3f
Define a custom ToTagBy instance for MethodDeclaration. 2019-09-27 18:35:01 -04:00
Rob Rix
2921c4ec73
Fix the top-level syntax type. 2019-09-27 18:32:36 -04:00
Rob Rix
a16240c112
Stub in a semantic-java package. 2019-09-27 18:21:06 -04:00
Rob Rix
52485e192e
Reformat the packages field. 2019-09-27 18:13:47 -04:00
Rob Rix
7d90dbd56a
Fix the Tags spec. 2019-09-27 18:03:20 -04:00
Rob Rix
daefc921eb
Don’t export the Precise constructor. 2019-09-27 17:33:07 -04:00
Rob Rix
9b0187d53d
Fix a missing import of a symbol. 2019-09-27 17:32:38 -04:00
Rob Rix
a415d856d7
Merge branch 'master' into semantic-tags 2019-09-27 17:31:26 -04:00
Patrick Thomson
d59fab955d
Merge pull request #284 from github/fix-benchmarks
Make benchmarks operate and switch to `gauge`.
2019-09-27 16:56:20 -04:00
Rob Rix
379b9d4f75
Fix the tests. 2019-09-27 15:15:37 -04:00
Rob Rix
e1226efbbd
Mod unmarshalled tags to one-index them. 2019-09-27 15:14:32 -04:00
Rob Rix
bd73cd0e1d
Bump to the latest tree-sitter* packages. 2019-09-27 14:02:49 -04:00
Patrick Thomson
65060868bc Make benchmarks operate and switch to gauge.
I find myself wanting to benchmark some I/O code, so I decided to look
at our benchmark suite, to find that it had bitrotted somewhat. This
patch brings it back up to working status, switches to `gauge` (which
is more accurate than `criteron` and incurs fewer dependencies), and
sprinkles some typed paths on there.
2019-09-27 13:18:30 -04:00
Rob Rix
cf1320586d
🔥 Data.Tag. 2019-09-27 12:04:24 -04:00
Rob Rix
b99366fc37
Tag using the precise AST when requested. 2019-09-27 11:56:45 -04:00
Rob Rix
e25d5e1d7d
Perform renderToSymbols out of the monad. 2019-09-27 11:53:31 -04:00
Rob Rix
958c66a275
Use Tags.Tag. 2019-09-27 11:49:16 -04:00
Rob Rix
3659912e41
Tags always have a line. 2019-09-27 11:34:08 -04:00
Rob Rix
65eed49ecc
slice/firstLine are total. 2019-09-27 11:33:13 -04:00
Rob Rix
bbb583de55
ContextTokens always have Ranges. 2019-09-27 11:30:33 -04:00
Rob Rix
376ea3e165
Tokens always have Ranges. 2019-09-27 11:28:14 -04:00
Rob Rix
53f3e5e9cc
🔥 the context field from Data.Tag.Tag. 2019-09-27 11:17:41 -04:00
Rob Rix
ed85a4483f
🔥 the HasSpan instance for Tag. 2019-09-27 11:16:14 -04:00
Rob Rix
7406910b4a
🔥 the ToJSON instance for Tag. 2019-09-27 11:15:26 -04:00
Rob Rix
661e582794
Pull symbolsToSummarize & tagToSymbol out to the top level. 2019-09-27 11:00:48 -04:00
Rob Rix
4a1b8e80c0
Reformat slightly. 2019-09-27 10:59:55 -04:00
Rob Rix
cf940ff595
precisePythonParser produces a Py.Term. 2019-09-27 10:53:26 -04:00
Rob Rix
cdb0488fde
Depend on semantic-tags. 2019-09-27 10:53:16 -04:00
Rob Rix
4f85f5148f
Define an Unmarshal instance for Py.Term. 2019-09-27 10:52:43 -04:00
Rob Rix
9b704006b4
🔥 an obsolete pragma. 2019-09-27 10:49:20 -04:00
Rob Rix
30a47a2595
📝 Language.Python. 2019-09-27 10:48:39 -04:00
Rob Rix
3fafa4f556
Tidy up with type applications. 2019-09-27 10:45:59 -04:00
Rob Rix
6a40b9a6cd
🔥 a redundant Element constraint. 2019-09-27 10:45:12 -04:00
Rob Rix
0c3e754eea
Alignment. 2019-09-27 10:43:31 -04:00
Rob Rix
e84da318a3
🔥 ApplyAll'. 2019-09-27 10:43:11 -04:00
Rob Rix
ed7d152169
Use the shared blobLanguage computation. 2019-09-27 10:41:22 -04:00