AssertStmt |
A usage of the keyword "assert"
In assert dead : "Wasn't expecting to be dead here"; the check is "dead" and the message is the string.
|
BlockStmt |
Statements in between { and }.
|
BreakStmt |
The break statement
|
CatchClause |
The catch part of a try-catch-finally.
|
ContinueStmt |
A continue statement with an optional label;
continue brains;
continue;
|
DoStmt |
A do-while.
|
EmptyStmt |
An empty statement is a ";" where a statement is expected.
|
ExplicitConstructorInvocationStmt |
A call to super or this in a constructor or initializer.
|
ExpressionStmt |
Used to wrap an expression so that it can take the place of a statement.
|
ForEachStmt |
A for-each statement.
|
ForStmt |
The classic for statement
|
IfStmt |
An if-then-else statement.
|
LabeledStmt |
A statement that is labeled, like label123: println("continuing");
|
LocalClassDeclarationStmt |
A class declaration inside a method.
|
LocalRecordDeclarationStmt |
A record declaration inside a method.
|
ReturnStmt |
The return statement, with an optional expression to return.
|
Statement |
A base class for all statements.
|
SwitchEntry |
One case in a switch statement
|
SwitchStmt |
The switch statement
|
SynchronizedStmt |
Usage of the synchronized keyword.
|
ThrowStmt |
Usage of the throw statement.
|
TryStmt |
The try statement
|
UnparsableStmt |
A statement that had parse errors.
|
WhileStmt |
A while statement.
|
YieldStmt |
The yield statement
|