Skip to content
Snippets Groups Projects
Commit 964227ec authored by Johannes Mey's avatar Johannes Mey
Browse files

parse the method reference expression examples from the java spec

parent c7d4958b
No related branches found
No related tags found
1 merge request!3Resolve "Parsing of Method Reference Expressions"
Pipeline #11989 passed
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
...@@ -282,9 +282,9 @@ primary_expression ::= primary_prefix (primary_suffix)* ...@@ -282,9 +282,9 @@ primary_expression ::= primary_prefix (primary_suffix)*
// member_selector unused! // member_selector unused!
primary_prefix ::= literal | THIS | (SUPER DOT java_identifier) | (LPAREN expression RPAREN) | allocation_expression | (result_type DOT CLASS) | name_name primary_prefix ::= literal | THIS | (SUPER (DOT java_identifier)?) | (LPAREN expression RPAREN) | allocation_expression | (result_type DOT CLASS) | type | name_name
primary_suffix ::= (DOT THIS) | (DOT allocation_expression) | (DOT type_arguments java_identifier) | (LBRACKET expression RBRACKET) | (DOT java_identifier) | arguments | DOUBLECOLON NEW | DOUBLECOLON java_identifier primary_suffix ::= (DOT THIS) | (DOT allocation_expression) | (DOT type_arguments java_identifier) | (LBRACKET expression RBRACKET) | (DOT java_identifier) | arguments | DOUBLECOLON type_arguments? (NEW | java_identifier)
literal ::= INTEGER_LITERAL | FLOATING_POINT_LITERAL | CHARACTER_LITERAL | STRING_LITERAL | boolean_literal | null_literal literal ::= INTEGER_LITERAL | FLOATING_POINT_LITERAL | CHARACTER_LITERAL | STRING_LITERAL | boolean_literal | null_literal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment