Clément Fournier
|
8fd4cf274e
|
Merge branch '7.0.x' into java-grammar
|
2020-08-22 21:22:41 +02:00 |
|
Clément Fournier
|
9ff940a157
|
Fix java changes
Refs #2714
|
2020-08-22 20:48:21 +02:00 |
|
Clément Fournier
|
05727ace87
|
Merge branch 'master' into 7.0.x
|
2020-08-22 19:48:49 +02:00 |
|
Clément Fournier
|
2e1e0ed3a4
|
Rename PermittedSubclasses to PermitsList
|
2020-08-22 19:30:38 +02:00 |
|
Andreas Dangel
|
67b37de334
|
[java] Rework BlockStatement to allow local interfaces, enums, ...
|
2020-08-16 21:42:36 +02:00 |
|
Andreas Dangel
|
fceb474df0
|
[java] Remove "non-sealed" token and use semantic lookahead instead
|
2020-08-16 18:22:45 +02:00 |
|
Andreas Dangel
|
0d9b5a7c3b
|
[java] Support Sealed Classes with Java 15 Preview
|
2020-08-14 22:16:41 +02:00 |
|
Andreas Dangel
|
cda155891a
|
[java] Add ugly lookahead for local record declarations
so that it can be distinguished from local var decl or other
statements.
|
2020-08-14 20:56:26 +02:00 |
|
Andreas Dangel
|
4d2853ccc4
|
[java] Add support for local records (Java 15 Preview)
|
2020-08-14 18:55:00 +02:00 |
|
Andreas Dangel
|
e51519c5fd
|
[java] Support Records with Java 15 Preview
|
2020-08-13 20:42:08 +02:00 |
|
Andreas Dangel
|
e596a67297
|
[java] Support Pattern Matching for instanceof with Java 15 Preview.
|
2020-08-13 20:11:25 +02:00 |
|
Andreas Dangel
|
40f0eedf88
|
[java] Text Blocks are now a permanent language feature with JDK 15
|
2020-08-13 20:05:54 +02:00 |
|
Andreas Dangel
|
02a78f5bea
|
[java] Add versions 15 (new default) and 15-preview, remove 13-preview
|
2020-08-13 19:15:02 +02:00 |
|
Clément Fournier
|
64ee073fca
|
Annotation disambiguation
|
2020-07-25 00:30:30 +02:00 |
|
Clément Fournier
|
ce790f8193
|
Fix merge
|
2020-05-02 21:02:55 +02:00 |
|
Clément Fournier
|
82c35aa3e8
|
Unimportant grammar cleanups
|
2020-04-08 21:23:49 +02:00 |
|
Andreas Dangel
|
735cbad432
|
Merge branch 'pmd/7.0.x' into java-grammar
|
2020-04-04 19:15:53 +02:00 |
|
Andreas Dangel
|
ef1c50707b
|
[java] Fix compile errors
|
2020-04-04 19:03:22 +02:00 |
|
Andreas Dangel
|
c8ffb63e40
|
Merge remote-tracking branch 'origin/master' into pmd/7.0.x
|
2020-04-04 18:36:27 +02:00 |
|
Andreas Dangel
|
69ed0464a7
|
Merge branch 'pr-2385'
[java] Make yield statements more conditional #2385
Fixes #2319
|
2020-04-04 18:20:49 +02:00 |
|
Clément Fournier
|
9a2810a4e3
|
Merge branch '7.0.x' into java-grammar
|
2020-03-28 15:28:34 +01:00 |
|
Clément Fournier
|
571a4167b8
|
Merge branch 'master' into 7.0.x
|
2020-03-28 15:14:09 +01:00 |
|
Clément Fournier
|
e1a4b8ae97
|
Forbid type params for record ctors
|
2020-03-28 11:43:20 +01:00 |
|
Clément Fournier
|
b01d4dc0d7
|
Test
|
2020-03-28 11:36:42 +01:00 |
|
Clément Fournier
|
9e9c370a4a
|
Make yield more conditional
Refs #2319
|
2020-03-28 11:36:38 +01:00 |
|
Clément Fournier
|
080c0c15cb
|
Merge branch 'grammar-flatten-body-declarations' into java-grammar
|
2020-03-17 15:22:02 +01:00 |
|
Clément Fournier
|
fa58ac98d2
|
Add empty modifier list for pattern variables
|
2020-03-03 00:01:23 +01:00 |
|
Clément Fournier
|
9b720c81b1
|
Merge branch 'java-grammar' into grammar-flatten-body-declarations
|
2020-03-02 22:35:47 +01:00 |
|
Clément Fournier
|
ea0122a656
|
Merge branch 'master' into 7.0.x
|
2020-03-02 22:26:41 +01:00 |
|
Clément Fournier
|
f698a2e7aa
|
Small API improvements for records
|
2020-03-02 22:24:44 +01:00 |
|
Clément Fournier
|
2910303dd8
|
Merge branch '7.0.x' into java-grammar
|
2020-03-02 22:06:32 +01:00 |
|
Clément Fournier
|
f574b7929b
|
Merge branch 'master' into 7.0.x
|
2020-03-02 20:46:59 +01:00 |
|
Clément Fournier
|
18cc6a3e4e
|
Disallow throws clause on record constructor
|
2020-03-02 20:46:40 +01:00 |
|
Clément Fournier
|
c8c8a04dda
|
Fix new java nodes
|
2020-03-02 20:31:52 +01:00 |
|
Clément Fournier
|
9788a3af5d
|
Merge branch 'master' into 7.0.x
|
2020-03-02 19:12:28 +01:00 |
|
Clément Fournier
|
fc0b437ad7
|
Fix record ctor with throws
|
2020-03-02 19:00:59 +01:00 |
|
Andreas Dangel
|
f1fe8ce5e1
|
[java] Remove version java 12 preview
Keep the tests and move them to java 14
except for the break expression
|
2020-02-28 19:37:13 +01:00 |
|
Andreas Dangel
|
ee211d42b1
|
[java] Remove unneccessary annotation parsing
|
2020-02-28 19:07:03 +01:00 |
|
Andreas Dangel
|
7d3df99134
|
[java] RecordBody - test with more annotation and use deep lookahead
Record constructors are not allowed to throw exceptions.
|
2020-02-28 18:41:22 +01:00 |
|
Andreas Dangel
|
0ecd1da200
|
[java] Get rid of RecordBodyDeclaration node
|
2020-02-28 18:32:33 +01:00 |
|
Andreas Dangel
|
fa28aa7e23
|
[java] Test annotations with RecordComponents
|
2020-02-28 17:59:39 +01:00 |
|
Andreas Dangel
|
e017def280
|
[java] Support vararg/array in RecordComponent and empty components
|
2020-02-28 17:35:44 +01:00 |
|
Andreas Dangel
|
5f43e198d5
|
[java] RecordConstructorDeclaration - do not use Name()
|
2020-02-28 17:01:57 +01:00 |
|
Andreas Dangel
|
9917e3f422
|
[java] RecordComponents -> RecordComponentList
|
2020-02-28 16:56:43 +01:00 |
|
Andreas Dangel
|
e2d84d6741
|
[java] Add grammar jdoc for new Record types
|
2020-02-28 16:50:57 +01:00 |
|
Andreas Dangel
|
8a224462fd
|
[java] Add initial support for Java 14 Preview record types
|
2020-02-28 14:58:52 +01:00 |
|
Andreas Dangel
|
adfb2ab129
|
[java] Update grammar
|
2020-02-28 10:51:38 +01:00 |
|
Andreas Dangel
|
9a80f13164
|
[java] Fix new escape sequence "\s" detection
|
2020-02-27 21:23:33 +01:00 |
|
Andreas Dangel
|
d16751d136
|
[java] Add support for TextBlocks in Java14
* New escape sequence "\s" added
* Added experimental ASTLiteral::getTextBlockContent to retrieve
the text block with stripped indentation
|
2020-02-27 21:11:02 +01:00 |
|
Andreas Dangel
|
9d5b7554f0
|
[java] Make sure, SwitchExpressions with yield work with java14
Add additional tests for java14, so that we can later simply remove
the java13 preview tests
|
2020-02-27 18:30:39 +01:00 |
|