500 Commits

Author SHA1 Message Date
Clément Fournier
800abc9d4a Add assignment expression 2019-05-20 20:13:12 +02:00
Clément Fournier
ea067cc676 Remove useless productions 2019-05-20 20:13:12 +02:00
Clément Fournier
56b2e6c420 Document 2019-05-20 20:13:12 +02:00
Clément Fournier
5a554101fd Split allocation expression 2019-05-20 20:13:12 +02:00
Clément Fournier
42de08d64e Do the same for method calls 2019-05-20 20:13:12 +02:00
Clément Fournier
9eb05f5e95 Do the same for field accesses 2019-05-20 20:13:12 +02:00
Clément Fournier
69f0507d44 Delete the name node in method references 2019-05-20 20:13:12 +02:00
Clément Fournier
55fe20667c Introduce LateInitNode to always perform full init 2019-05-20 20:13:12 +02:00
Clément Fournier
f7fda54c01 Test method references 2019-05-20 20:13:12 +02:00
Clément Fournier
dd3275e06a Add AmbiguousNameExpr 2019-05-20 20:13:11 +02:00
Clément Fournier
ca08b0e9e4 Fix compilation 2019-05-20 20:13:11 +02:00
Clément Fournier
d700abf1a2 Turn ASTExpression and primary into interfaces, add a bunch of left recursive expressions 2019-05-20 20:13:11 +02:00
Clément Fournier
d994544cd6 Add ClassLiteral 2019-05-20 20:13:11 +02:00
Clément Fournier
6021f22f07 Make Literal an interface 2019-05-20 20:13:11 +02:00
Clément Fournier
9a733cd665 Add TODO comments 2019-05-20 20:13:11 +02:00
Clément Fournier
49bec00d3f Extract injection method 2019-05-20 20:13:11 +02:00
Clément Fournier
f2d023b78a PR proofreading 2019-05-20 20:13:11 +02:00
Clément Fournier
5bf5067897 Fix MoreThanOneLogger 2019-05-20 20:13:11 +02:00
Clément Fournier
4f9c8f7f60 Add tests 2019-05-20 20:13:11 +02:00
Clément Fournier
8ce91fc3e4 Update comments 2019-05-20 20:13:11 +02:00
Clément Fournier
6ae534f6bd Fix some leftovers 2019-05-20 20:13:11 +02:00
Clément Fournier
056a8b3468 Add TODOs 2019-05-20 20:13:11 +02:00
Clément Fournier
18581b82ae Parse ClassOrInterfaceType recursively 2019-05-20 20:13:11 +02:00
Clément Fournier
4ec95b527d Make Type and ReferenceType #void 2019-05-20 20:13:11 +02:00
Clément Fournier
d76b6f3545 Update comments 2019-05-20 20:13:11 +02:00
Clément Fournier
7bed35f2dd Fix some leftovers 2019-05-20 20:13:11 +02:00
Clément Fournier
ecbeb0f615 Add TODOs 2019-05-20 20:13:11 +02:00
Clément Fournier
2e7742b48a Parse ClassOrInterfaceType recursively 2019-05-20 20:13:11 +02:00
Clément Fournier
6378080a37 Add nodes for array type dimensions 2019-05-20 20:13:11 +02:00
Andreas Dangel
ec68c2979c [java] avoid most lookaheads for SwitchStatements 2019-03-31 10:33:02 +02:00
Andreas Dangel
f8652fbf9a [java] Add SwitchLabeledRule interface, remove SwitchBlockGroup 2019-03-31 00:21:34 +01:00
Andreas Dangel
65b2990ad1 Fix break statement 2019-03-17 10:22:11 +01:00
Andreas Dangel
e103ef4869 [java] Rename SwitchLabeledRule -> SwitchBlockGroup
The plan is with PMD, that also the switch block statements
are grouped together with the switch label, like the switch rules
2019-03-17 10:22:06 +01:00
Andreas Dangel
d7aa1b1742 Support Expression in break statements 2019-03-16 11:55:38 +01:00
Clément Fournier
2793c3e029 Remove arbitrary lookahead 2019-03-16 11:55:38 +01:00
Andreas Dangel
65cac51445 [java] Add Java12 support 2019-03-16 11:55:38 +01:00
Andreas Dangel
8949019da6 [java] Add Java12 support 2019-03-16 11:55:38 +01:00
Rohit Kumar
874b528da8 Adding test cases and fixing review comments 2018-11-12 17:35:29 +05:30
Rohit Kumar
6fb8b6b1b6 Adding the fix for #1440 2018-11-12 01:56:35 +05:30
Clément Fournier
40ce9313ae Deprecate R[UN]SIGNEDSHIFT
No usages to report
2018-08-20 18:08:21 +02:00
Andreas Dangel
c362f5a77f [java] Prepare for Java 11 2018-07-19 22:00:34 +02:00
Clément Fournier
07516ee8ac Deprecate isTernary on ConditionalExpression 2018-07-03 02:13:22 +02:00
Clément Fournier
80e27d049a Add doc to some AST nodes 2018-06-26 12:21:22 +02:00
Andreas Dangel
a46288547d Rework "var" support for java10 using void production for LocalVariableType 2018-05-28 21:18:59 +02:00
Andreas Dangel
0b0479d7c0 Prevent using "var" as type name, annotation name or enum with Java 10 2018-05-28 20:07:10 +02:00
Andreas Dangel
8f4b2647c4 Merge branch 'master' into java10-basic-support 2018-05-21 10:07:05 +02:00
Andreas Dangel
93347719b3 [java] Rename ASTType.isVarType to ASTType.isTypeInferred 2018-05-11 16:17:00 +02:00
Juan Martín Sotuyo Dodero
5de405d23f [java] Fix scoping inconsistencies
- Reduce LocalScope creations. Method parameters and method locals have
the same visibility / reachability, so they should be in the same scope.
 - Fix the grammar `assert` lookahead. There is no need to use `(`
 - Fix illegal test code (shadowing of parameters is illegal)
 - Update Scope tests to deal with changes
 - Fixes #1051
2018-05-06 20:42:33 -03:00
Andreas Dangel
18dfba939c [java] First step for java10 local variable type inference 2018-05-01 17:14:06 +02:00
Juan Martín Sotuyo Dodero
32af9cabf2 [java] Update valid identifiers
- Newer Java versions have allowed for a lot more tokens in identifiers
2018-02-18 04:44:27 -03:00