convert(StatementContext) Implementierung fortgesetzt
This commit is contained in:
parent
40d0d6b63e
commit
0e981ce95c
@ -521,25 +521,25 @@ localTypeDeclaration
|
|||||||
;
|
;
|
||||||
|
|
||||||
statement
|
statement
|
||||||
: blockLabel=block
|
: blockLabel=block #blockstmt
|
||||||
| ASSERT expression (':' expression)? ';'
|
| ASSERT expression (':' expression)? ';' #assertstmt
|
||||||
| IF parExpression statement (ELSE statement)?
|
| IF parExpression statement (ELSE statement)? #conditionalstmt
|
||||||
| FOR '(' forControl ')' statement
|
| FOR '(' forControl ')' statement #forloop
|
||||||
| WHILE parExpression statement
|
| WHILE parExpression statement #whileloop
|
||||||
| DO statement WHILE parExpression ';'
|
| DO statement WHILE parExpression ';' #dowhileloop
|
||||||
| TRY block (catchClause+ finallyBlock? | finallyBlock)
|
| TRY block (catchClause+ finallyBlock? | finallyBlock) #trycatchblock
|
||||||
| TRY resourceSpecification block catchClause* finallyBlock?
|
| TRY resourceSpecification block catchClause* finallyBlock? #trycatchresource
|
||||||
| SWITCH parExpression '{' switchBlockStatementGroup* switchLabel* '}'
|
| SWITCH parExpression '{' switchBlockStatementGroup* switchLabel* '}' #switchstmt
|
||||||
| SYNCHRONIZED parExpression block
|
| SYNCHRONIZED parExpression block #synchronizedstmt
|
||||||
| RETURN expression? ';'
|
| RETURN expression? ';' #returnstmt
|
||||||
| THROW expression ';'
|
| THROW expression ';' #throstmt
|
||||||
| BREAK identifier? ';'
|
| BREAK identifier? ';' #breakstmt
|
||||||
| CONTINUE identifier? ';'
|
| CONTINUE identifier? ';' #continuestmt
|
||||||
| YIELD expression ';' // Java17
|
| YIELD expression ';' #yieldstmt // Java17
|
||||||
| SEMI
|
| SEMI #semistmt
|
||||||
| statementExpression=expression ';'
|
| statementExpression=expression ';' #stmtexpression
|
||||||
| switchExpression ';'? // Java17
|
| switchExpression ';'? #switchexpression // Java17
|
||||||
| identifierLabel=identifier ':' statement
|
| identifierLabel=identifier ':' statement #identifierlabel
|
||||||
;
|
;
|
||||||
|
|
||||||
catchClause
|
catchClause
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user