1
1
mirror of https://github.com/github/semantic.git synced 2024-11-27 12:57:49 +03:00
Commit Graph

86 Commits

Author SHA1 Message Date
Timothy Clem
91ddeda1e0 Fix Loc for Java tags 2020-04-27 13:23:09 -07:00
Patrick Thomson
b3cb0125d4 Simplify first-line calculation in interface declarations. 2020-04-22 11:38:57 -04:00
Patrick Thomson
eae11d016c Tag Java interfaces and interface implementations.
This patch adds tagging support to Java `InterfaceDeclaration` and
`InterfaceTypeList` nodes. To do so, we add two new constructors to
`Tags.Tag.Kind`: `Interface`, emitted by `InterfaceDeclaration`, and
`Implementation`, emitted by `implements` clauses in Java source. Some
modification of downstream services will be indicated.
2020-04-21 17:03:19 -04:00
Ayman Nadeem
7834a7b1c0 update main-is for test suites in language cabal files 2020-04-20 11:53:47 -04:00
Ayman Nadeem
e4efec9394 rename Java Test to PreciseTest 2020-04-20 11:45:37 -04:00
Rick Winfrey
9a7ed9d294 Bump to semantic-source 0.1.0
Co-Authored-By: Patrick Thomson <patrickt@users.noreply.github.com>
2020-03-23 13:40:50 -07:00
Timothy Clem
b5a47e30bc Bring back tree-sitter corpus tests for java 2020-02-20 13:46:36 -08:00
Timothy Clem
a697d2109c Get the tests and benchmarks building again 2020-02-20 10:01:46 -08:00
Timothy Clem
5a358d6894 Fully remove reference to submodules 2020-02-20 09:58:47 -08:00
Patrick Thomson
e45bb13fb1 Remove submodules now that parsers provide grammars themselves. 2020-02-14 13:25:37 -05:00
Ayman Nadeem
93169a8ce0 uncomment ForInit and LocalVariableDeclarationStatement 2020-02-08 19:06:44 -05:00
Ayman Nadeem
e6c0301155 Update AST.hs 2020-02-08 08:21:49 -05:00
Ayman Nadeem
c5fe902067 import Language.Haskell.TH.Syntax (runIO) for Java 2020-02-08 08:11:37 -05:00
Ayman Nadeem
81e28fe7f4 Update semantic-java.cabal 2020-02-07 19:17:03 -05:00
Ayman Nadeem
35783d6774 Update semantic-java.cabal 2020-02-07 19:11:51 -05:00
Ayman Nadeem
0f6985fae8 update semantic-LANG cabal files to depend on semantic-ast instead of tree-sitter-test-helpers 2020-02-06 16:32:03 -05:00
Ayman Nadeem
ff12a5b621 Update Test.hs 2020-02-06 16:29:22 -05:00
Ayman Nadeem
92203c6b41 change Java test to import AST.Test instead of TreeSitter.Test.Helpers 2020-02-06 16:29:10 -05:00
Ayman Nadeem
bda78e4152 Update semantic-java.cabal 2020-02-06 15:54:38 -05:00
Ayman Nadeem
bd983045ee add common stanza to semantic-java.cabal 2020-02-06 15:28:05 -05:00
Ayman Nadeem
602ac29afd remove semantic-codegen from everywhere in the project 2020-02-04 17:37:09 -05:00
Ayman Nadeem
52e595cd25 Merge branch 'traversty' into codegen-migration-leftovers 2020-02-04 17:01:29 -05:00
Ayman Nadeem
2172c9b37e use getNodeTypesPath for Java 2020-02-04 16:31:14 -05:00
Rob Rix
790431ac74
Tagging uses Traversable1 instead of GTraversable1. 2020-02-04 13:56:19 -05:00
Rob Rix
16c2e867e8
Newlines at EOF. 2020-02-04 13:55:52 -05:00
Rob Rix
7a2cc7fb7a
Move Traversable1 into semantic-ast. 2020-02-04 13:35:35 -05:00
Rob Rix
924ada5744
Apply stylish-haskell. 2020-02-04 13:29:33 -05:00
Ayman Nadeem
87e6991e62 add test-suite to semantic-java.cabal 2020-02-04 12:32:23 -05:00
Ayman Nadeem
96547877cd move Java corpus tests from tree-sitter-java to semantic-java 2020-02-04 12:32:14 -05:00
Ayman Nadeem
d1066dc169 Update semantic-java.cabal 2020-01-31 12:19:55 -05:00
Ayman Nadeem
51aa8587e8 add -Wno-missing-deriving-strategies to semantic-json and semantic-java 2020-01-31 11:27:09 -05:00
Ayman Nadeem
9c31c3fcf8 change all semantic-LANG cabal files to depend on semantic-codegen instead of semantic-ast 2020-01-30 17:44:09 -05:00
Ayman Nadeem
61e7155fb3 add semantic-ast to semantic-LANG library dependencies 2020-01-30 16:48:35 -05:00
Ayman Nadeem
0095b80ff8 bring addDependentFileRelative into scope for all Grammar files 2020-01-30 13:49:19 -05:00
Ayman Nadeem
5f4d11bdf1 change function name 2020-01-30 13:44:27 -05:00
Ayman Nadeem
5e85e7d786 fix java and json Grammars 2020-01-30 13:18:12 -05:00
Ayman Nadeem
76eb3af0c3 Update semantic-java.cabal 2020-01-29 16:55:40 -05:00
Ayman Nadeem
f2d3b14032 add Java grammar 2020-01-29 15:51:09 -05:00
Ayman Nadeem
0900bdbe74 Merge branch 'master' into my-grate 2020-01-29 15:09:17 -05:00
Patrick Thomson
9ecaeedcc3 Depend on newer semantic-source. 2020-01-28 12:42:42 -05:00
Ayman Nadeem
9c39c4e0a4 Updata Java dependencies to reference AST.* instead of TreeSitter.* 2020-01-28 12:09:29 -05:00
Ayman Nadeem
2658bf6dee This fails for some reason, investigate later 2020-01-27 15:28:15 -05:00
Ayman Nadeem
04036eabea s/TreeSitter/Language 2020-01-27 15:23:35 -05:00
Ayman Nadeem
de6864049d compensate for src 2020-01-27 15:22:24 -05:00
Ayman Nadeem
05bdf124df create submodule for java AST 2020-01-27 15:17:52 -05:00
Ayman Nadeem
5f218d9090 add AST contents 2020-01-27 15:17:35 -05:00
Ayman Nadeem
5847bd7024 Update semantic-java.cabal 2020-01-27 15:13:12 -05:00
Ayman Nadeem
d33a8d6801 Create AST.hs 2020-01-27 15:13:03 -05:00
Timothy Clem
c0d8675d09 Use semantic-source 0.0.1 2020-01-16 12:57:24 -08:00
Timothy Clem
6bcc231355 firstLine takes a range 2020-01-16 12:14:40 -08:00