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

29239 Commits

Author SHA1 Message Date
Patrick Thomson
f0a34778ad Remove Java from AST parser plumbing 2019-09-17 12:29:00 -04:00
Patrick Thomson
d48816c74d IfInitializer went away 2019-09-17 12:27:31 -04:00
Patrick Thomson
e3b0b65a87 TypeCaseClause seems (?) to have gone away 2019-09-17 12:26:55 -04:00
Patrick Thomson
3ea0361bb0 CommunicationClause went away 2019-09-17 12:23:38 -04:00
Patrick Thomson
044fbbbc20 ExpressionCaseClause went away 2019-09-17 12:22:35 -04:00
Patrick Thomson
50e3f684ef Remove Go ElseClause 2019-09-17 12:20:34 -04:00
Patrick Thomson
c14354483b Disable Java assignment for now. 2019-09-17 12:17:49 -04:00
Patrick Thomson
11fde99fe4 AbstractClass => AbstractClassDefinition 2019-09-17 12:13:05 -04:00
Patrick Thomson
7d94893bed Don't match CallSignature (TSX). 2019-09-17 12:12:41 -04:00
Patrick Thomson
456cc138f1 Remove anonymousClass (TSX). 2019-09-17 12:11:54 -04:00
Patrick Thomson
022e8217a0 Remove for_of statements. 2019-09-17 12:11:26 -04:00
Patrick Thomson
8026e31c44 Ensure callSignature returns a Term. 2019-09-17 12:11:11 -04:00
Patrick Thomson
7004569d1e CallSignature doesn't have its own symbol anymore. 2019-09-17 12:08:04 -04:00
Patrick Thomson
4e15f289ca AbstractClass -> AbstractClassDeclaration 2019-09-17 12:04:57 -04:00
Patrick Thomson
d9f5c85066 AnonymousClass is now covered under standard class rule. 2019-09-17 12:03:45 -04:00
Patrick Thomson
9d22506544 No more TypeSwitchGuard. 2019-09-17 11:38:17 -04:00
Timothy Clem
05319f0b78 No more ThisType in Typescript grammar 2019-09-17 08:30:20 -07:00
Patrick Thomson
05d84ea500 Update to latest round of tree-sitter packages. 2019-09-17 10:46:20 -04:00
Patrick Thomson
686e894838 Merge remote-tracking branch 'origin/master' into bump-to-tree-sitter-0.2.1 2019-09-16 13:52:58 -04:00
Patrick Thomson
8b66533c3b Bump to tree-sitter-python 0.3.0.0. 2019-09-16 13:36:52 -04:00
Rob Rix
3d8fbead61
Merge pull request #250 from gingerhot/fix-a-javascript-syntax-in-comments
Fix a JavaScript import syntax error in comments
2019-09-16 13:18:28 -04:00
B1nj0y
caf879cf19 Fix a JavaScript import syntax error in comments 2019-09-17 00:49:19 +08:00
Patrick Thomson
b3ecc9fb56 Bump to tree-sitter-0.2.1. 2019-09-11 18:24:15 -04:00
Patrick Thomson
8c0041f1ec
Merge pull request #242 from github/bump-ts-php
Bump tree-sitter-php to 0.1.0.1.
2019-09-10 12:57:45 -04:00
Patrick Thomson
dade361ae8 Bump tree-sitter-php to 0.1.0.1.
This fixes associativity bugs in the PHP grammar.
2019-09-10 11:56:13 -04:00
Patrick Thomson
d9f73b668b
Merge pull request #227 from github/python-test-programs
Institute semantic-python test suite/address milestone 1
2019-09-09 12:52:19 -04:00
Patrick Thomson
33b06d8962
Merge branch 'master' into python-test-programs 2019-09-09 12:20:08 -04:00
Patrick Thomson
b31ce368f0 Kill the haskell-tree-sitter submodule for real. 2019-09-09 11:52:33 -04:00
Patrick Thomson
7f833f08f5 Bump tree-sitter versions. 2019-09-09 11:39:29 -04:00
Patrick Thomson
639bb0a3ab Kill tree-sitter-python submodule. 2019-09-08 15:49:21 -04:00
Rob Rix
a9365c667c
Merge pull request #238 from github/fix-try-catch-error
Assignment error in Java try/catch blocks (#235)
2019-09-06 14:24:52 -04:00
Patrick Thomson
6fc97fce21
Update src/Language/Java/Assignment.hs
Parens are not necessary here.

Co-Authored-By: Rob Rix <robrix@github.com>
2019-09-06 13:36:43 -04:00
Patrick Thomson
c623d2906b Assignment error in Java try/catch blocks (#235)
As @tclem pointed out, the TryStatement token was being consumed too
early. We also ran into errors within the `catches` clause where we
required a block but were asking for an expression.
2019-09-06 12:23:55 -04:00
Patrick Thomson
245e5055f3 Forgot a liftToEncoding. 2019-09-04 23:10:54 -04:00
Patrick Thomson
a9328c3671 Derive JSON instances for the Core trees. 2019-09-04 23:10:54 -04:00
Rob Rix
cd62b20e3a
Merge branch 'master' into python-test-programs 2019-09-04 12:07:56 -04:00
Rob Rix
6507e6f147
Merge pull request #223 from github/property-test-scientific-parser
Property test scientific parser
2019-09-03 19:39:16 -04:00
Patrick Thomson
312cbcc269
Merge branch 'master' into property-test-scientific-parser 2019-09-03 13:46:06 -04:00
Patrick Thomson
c490d3d623 Merge remote-tracking branch 'origin/python-test-programs' into python-test-programs 2019-09-03 13:42:53 -04:00
Patrick Thomson
5bae778b14 Move warnings into shared haskell component. 2019-09-03 13:35:33 -04:00
Patrick Thomson
922e4f28fd Be less specific about builds. 2019-09-03 13:34:08 -04:00
Patrick Thomson
a7bbd173d0 Formatting/includes. 2019-09-03 13:34:00 -04:00
Patrick Thomson
8369298101 Remove globally-specified default-extensions. 2019-09-03 13:33:45 -04:00
Patrick Thomson
f2711afacf Bump haskell-tree-sitter. 2019-09-03 13:33:15 -04:00
Patrick Thomson
2790f59882
Merge branch 'master' into python-test-programs 2019-08-30 09:34:09 -04:00
Patrick Thomson
25be284ad2 fix warnings 2019-08-29 09:32:39 -04:00
Patrick Thomson
efa949d402 better naming 2019-08-29 09:30:58 -04:00
Patrick Thomson
973490b5d4 Decomplect this whole thing by lifting it into IO. 2019-08-29 09:20:13 -04:00
Patrick Thomson
31fbc386e9 Enable multiple directives. 2019-08-29 08:52:38 -04:00
Patrick Thomson
ee16b8a706
Merge pull request #234 from github/don't-load-pretty-by-default
Don't load pretty-show/hscolour by default. (#226)
2019-08-27 14:10:29 -04:00