500 Commits

Author SHA1 Message Date
Clément Fournier
556e713a7e Merge branch 'java-grammar' into grammar-assignable-expression 2019-07-28 18:34:08 +02:00
Clément Fournier
a305660504 Remove some warnings in grammar
Unused productions
Unnecessary parentheses
Consecutive parser actions
2019-07-28 15:47:20 +02:00
Clément Fournier
3218c25665 Use extendLeft a bit less 2019-07-28 15:30:52 +02:00
Clément Fournier
cf43a6f18e Fix text bounds of parenthesized expressions 2019-07-22 12:36:01 +02:00
Clément Fournier
eab8e6a241 Merge branch 'java-grammar' into grammar-improve-resource 2019-07-16 14:05:11 +02:00
Clément Fournier
5fd8a26b45 Merge branch 'java-grammar' into grammar-assignable-expression 2019-07-16 14:01:21 +02:00
Clément Fournier
6f8adcd158 Merge branch 'java-grammar' into grammar-remove-names 2019-07-16 13:58:02 +02:00
Clément Fournier
0d6e2f34ce Fix choice amibiguity with annotated local class
Fixes some failing tests
2019-07-12 02:57:54 +02:00
Clément Fournier
d664b175aa Fix type annot on method ref in cast ctx 2019-07-12 02:53:50 +02:00
Clément Fournier
968c7d019a Improve try-with-resources grammar 2019-07-01 12:57:21 +02:00
Clément Fournier
6a50cc52f4 Cleanup impl 2019-06-27 00:51:39 +02:00
Clément Fournier
13c1f74fef Move AccessType into AssignableExpr 2019-06-27 00:29:29 +02:00
Clément Fournier
e59d10fc37 Rename VariableReference to VariableAccess 2019-06-27 00:03:54 +02:00
Clément Fournier
613f6bb47a Merge Pre[Inc|Dec]rementExpr and PostfixExpr into IncrementExpr 2019-06-27 00:00:42 +02:00
Clément Fournier
8715a8556c Fix compilation 2019-06-26 19:04:58 +02:00
Clément Fournier
303b9628e4 Remove name node in import & package decl
Make ImportDeclaration not a TypeNode
2019-06-26 18:18:09 +02:00
Clément Fournier
a64c467293 Fix some cases of type annotations failure 2019-06-26 04:55:43 +02:00
Clément Fournier
9356d12968 Merge branch 'java-grammar' into grammar-annotation-floating 2019-06-25 16:38:12 +02:00
Clément Fournier
926c008012 Fix instanceof with annotated type 2019-06-19 00:37:46 +02:00
Clément Fournier
2a40d49cfc Add changelog notice 2019-06-19 00:37:46 +02:00
Clément Fournier
388c952376 Remove annotation list, parse annotations flatly 2019-06-19 00:37:46 +02:00
Clément Fournier
8262e38708 remove wrapLeft 2019-06-19 00:37:46 +02:00
Clément Fournier
0351b5976e Test other annotation positions 2019-06-19 00:37:46 +02:00
Clément Fournier
93ceb24881 Fix wildcard type annotations 2019-06-19 00:37:46 +02:00
Clément Fournier
a709ce5cf2 Extract annotation changes 2019-06-19 00:37:46 +02:00
Clément Fournier
62ea1d167f Represent parentheses with attribute, not node 2019-06-17 20:23:53 +02:00
Clément Fournier
7f6506c23e Merge branch 'java-grammar' into grammar-opt-expressions 2019-06-02 00:27:36 +02:00
Clément Fournier
8f0c982a09 Merge branch 'master' into java-grammar 2019-06-01 23:18:03 +02:00
Clément Fournier
94afed80df Fix ambiguity with switch 2019-05-30 15:48:55 +02:00
Clément Fournier
39921f40b4 Add to grammar changelog 2019-05-30 15:06:50 +02:00
Clément Fournier
10158751d2 Fix local class modifiers being forgotten 2019-05-30 14:53:16 +02:00
Clément Fournier
53d696a6a1 Document 2019-05-28 16:33:59 +02:00
Clément Fournier
0e16462166 Remove unused prod 2019-05-28 16:14:26 +02:00
Clément Fournier
6a8cb2cd32 REVERT ME Extract lambda changes 2019-05-26 16:47:26 +02:00
Clément Fournier
45f040fa9f Improve statement expression placement 2019-05-26 16:39:19 +02:00
Clément Fournier
4d0042f9d0 Fix type arg/shift ambig corner case 2019-05-26 16:39:19 +02:00
Clément Fournier
0939d4e1fc Fix some corner cases found in jdk12 sources 2019-05-26 16:39:19 +02:00
Clément Fournier
501bfa80b0 Forbid method references to be stacked 2019-05-26 16:39:19 +02:00
Clément Fournier
2379c099cd Remove jjtclose hook of array access 2019-05-26 16:39:19 +02:00
Clément Fournier
691537eeff Remove jjtclose hook of constructor call 2019-05-26 16:39:19 +02:00
Clément Fournier
c18b3803d4 Simplify qualified this & super 2019-05-26 16:39:19 +02:00
Clément Fournier
066ec0f022 Make super keyword stricter 2019-05-26 16:39:19 +02:00
Clément Fournier
5af835ef86 Test method reference 2019-05-26 16:39:19 +02:00
Clément Fournier
c42723fa53 Fix lambda allowed in ternaries 2019-05-26 16:39:19 +02:00
Clément Fournier
17abff76ee Fix explicit constructor invoc args 2019-05-26 16:39:19 +02:00
Clément Fournier
13f052dcf2 Move lambda out of primary prefix 2019-05-26 16:39:19 +02:00
Clément Fournier
cfc31e42e9 Fix ambiguity between type args & LT comp 2019-05-26 16:39:19 +02:00
Clément Fournier
8ab8009be6 Fix constructor invoc ambiguity 2019-05-26 16:39:18 +02:00
Clément Fournier
68fa6198a1 Cleanup 2019-05-26 16:39:18 +02:00
Clément Fournier
0ef4ec74af Optimise primary prefix lookaheads 2019-05-26 16:39:18 +02:00