Class and Description |
---|
BlockStmt
Statements in between { and }.
|
ExplicitConstructorInvocationStmt
A call to super or this in a constructor or initializer.
|
Statement
A base class for all statements.
|
Class and Description |
---|
BlockStmt
Statements in between { and }.
|
Class and Description |
---|
BlockStmt
Statements in between { and }.
|
Statement
A base class for all statements.
|
SwitchEntry
One case in a switch statement
The main Javadoc is in
SwitchStmt
Java 1.0-11
switch (i) {
case 1:
case 2:
System.out.println(444);
break;
default:
System.out.println(0);
}
This contains three SwitchEntrys. |
Class and Description |
---|
BlockStmt
Statements in between { and }.
|
ExpressionStmt
Used to wrap an expression so that it can take the place of a statement.
|
Statement
A base class for all statements.
|
SwitchEntry
One case in a switch statement
The main Javadoc is in
SwitchStmt
Java 1.0-11
switch (i) {
case 1:
case 2:
System.out.println(444);
break;
default:
System.out.println(0);
}
This contains three SwitchEntrys. |
Class and Description |
---|
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
Java 1.0-11
Break has an optional label:
break;
break somewhere;
The label is in the "value" property as a NameExpr. |
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
Examples:
for(int a=3, b=5; a<99; a++, b++) hello();
for(a=3, b=5; a<99; a++) { hello(); }
for(a(),b();;) hello();
initialization is a list of expressions. |
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
The main Javadoc is in
SwitchStmt
Java 1.0-11
switch (i) {
case 1:
case 2:
System.out.println(444);
break;
default:
System.out.println(0);
}
This contains three SwitchEntrys. |
SwitchEntry.Type |
SwitchStmt
The switch statement
Java 1.0-1.4
The basic C-like switch statement.
|
SynchronizedStmt
Usage of the synchronized keyword.
|
ThrowStmt
Usage of the throw statement.
|
TryStmt
The try statement
Java 1.0-6
try {
// ...
} catch (IOException e) {
// ...
} finally {
// ...
}
In this code, "// do things" is the content of the tryBlock, there is one catch clause that catches IOException e,
and there is a finally block.
|
UnparsableStmt
A statement that had parse errors.
|
WhileStmt
A while statement.
|
YieldStmt
The yield statement
Java 1.0-11
Does not exist.
|
Class and Description |
---|
CatchClause
The catch part of a try-catch-finally.
|
Class and Description |
---|
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
Java 1.0-11
Break has an optional label:
break;
break somewhere;
The label is in the "value" property as a NameExpr. |
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
Examples:
for(int a=3, b=5; a<99; a++, b++) hello();
for(a=3, b=5; a<99; a++) { hello(); }
for(a(),b();;) hello();
initialization is a list of expressions. |
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.
|
SwitchEntry
One case in a switch statement
The main Javadoc is in
SwitchStmt
Java 1.0-11
switch (i) {
case 1:
case 2:
System.out.println(444);
break;
default:
System.out.println(0);
}
This contains three SwitchEntrys. |
SwitchStmt
The switch statement
Java 1.0-1.4
The basic C-like switch statement.
|
SynchronizedStmt
Usage of the synchronized keyword.
|
ThrowStmt
Usage of the throw statement.
|
TryStmt
The try statement
Java 1.0-6
try {
// ...
} catch (IOException e) {
// ...
} finally {
// ...
}
In this code, "// do things" is the content of the tryBlock, there is one catch clause that catches IOException e,
and there is a finally block.
|
UnparsableStmt
A statement that had parse errors.
|
WhileStmt
A while statement.
|
YieldStmt
The yield statement
Java 1.0-11
Does not exist.
|
Class and Description |
---|
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
Java 1.0-11
Break has an optional label:
break;
break somewhere;
The label is in the "value" property as a NameExpr. |
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
Examples:
for(int a=3, b=5; a<99; a++, b++) hello();
for(a=3, b=5; a<99; a++) { hello(); }
for(a(),b();;) hello();
initialization is a list of expressions. |
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.
|
SwitchEntry
One case in a switch statement
The main Javadoc is in
SwitchStmt
Java 1.0-11
switch (i) {
case 1:
case 2:
System.out.println(444);
break;
default:
System.out.println(0);
}
This contains three SwitchEntrys. |
SwitchStmt
The switch statement
Java 1.0-1.4
The basic C-like switch statement.
|
SynchronizedStmt
Usage of the synchronized keyword.
|
ThrowStmt
Usage of the throw statement.
|
TryStmt
The try statement
Java 1.0-6
try {
// ...
} catch (IOException e) {
// ...
} finally {
// ...
}
In this code, "// do things" is the content of the tryBlock, there is one catch clause that catches IOException e,
and there is a finally block.
|
UnparsableStmt
A statement that had parse errors.
|
WhileStmt
A while statement.
|
YieldStmt
The yield statement
Java 1.0-11
Does not exist.
|
Copyright © 2007–2022. All rights reserved.