Package | Description |
---|---|
org.codehaus.janino |
The classes in this package pose the core of the Janino JavaTM compiler.
|
org.codehaus.janino.util |
Application-independent helper classes.
|
Modifier and Type | Class | Description |
---|---|---|
static class |
Java.AssertStatement |
Representation of the JLS7 14.10 ASSERT statement.
|
static class |
Java.Block |
Representation of a Java™ "block" (JLS7 14.2).
|
static class |
Java.BreakableStatement |
Base class for statements that can be terminated abnormally with a "break" statement.
|
static class |
Java.BreakStatement |
Representation of the JLS7 14.15 BREAK statement.
|
static class |
Java.ContinuableStatement |
Base class for statements that support the 'continue' statement.
|
static class |
Java.ContinueStatement |
Representation of the JLS7 14.16 CONTINUE statement.
|
static class |
Java.DoStatement |
Representation of a JLS7 14.13 DO statement.
|
static class |
Java.EmptyStatement |
Representation of the "empty statement", i.e.
|
static class |
Java.ExpressionStatement |
Representation of the JLS7 14.8 'expression statement'.
|
static class |
Java.FieldDeclaration |
This class is derived from "Statement", because it provides for the
initialization of the field.
|
static class |
Java.ForEachStatement |
Representation of a JLS7 14.14.2 'enhanced FOR statement'.
|
static class |
Java.ForStatement |
Representation of a JLS7 14.14.1 'basic FOR statement'.
|
static class |
Java.IfStatement |
Representation of a JLS7 14.9 IF statement.
|
static class |
Java.LabeledStatement |
Representation of a JLS7 14.7 'labeled statement'.
|
static class |
Java.LocalClassDeclarationStatement |
Representation of the JLS7 14.3 'local class declaration statement'.
|
static class |
Java.LocalVariableDeclarationStatement |
Representation of a JLS7 14.4 'local variable declaration statement'.
|
static class |
Java.ReturnStatement |
Representation of the JLS7 14.17 RETURN statement.
|
static class |
Java.SwitchStatement |
The JLS7 14.10 "switch" Statement.
|
static class |
Java.SynchronizedStatement |
Representation of a JLS7 14.9 SYNCHRONIZED statement.
|
static class |
Java.ThrowStatement |
Representation of a JLS7 14.18 THROW statement.
|
static class |
Java.TryStatement |
Representation of a JLS7 14.20 TRY statement.
|
static class |
Java.WhileStatement |
Representation of the JLS7 14.2 WHILE statement.
|
Modifier and Type | Field | Description |
---|---|---|
Java.Statement |
Java.LabeledStatement.body |
The labeled block.
|
Modifier and Type | Method | Description |
---|---|---|
Java.Statement |
Parser.parseAssertStatement() |
AssertStatement := 'assert' Expression [ ':' Expression ] ';'
|
Java.Statement |
Parser.parseBreakStatement() |
BreakStatement := 'break' [ Identifier ] ';'
|
Java.Statement |
Parser.parseContinueStatement() |
ContinueStatement := 'continue' [ Identifier ] ';'
|
Java.Statement |
Parser.parseDoStatement() |
DoStatement := 'do' Statement 'while' '(' Expression ')' ';'
|
Java.Statement |
Parser.parseEmptyStatement() |
EmptyStatement := ';'
|
Java.Statement |
Parser.parseExpressionStatement() |
ExpressionStatement := Expression ';'
|
Java.Statement |
Parser.parseForStatement() |
ForStatement :=
'for' '(' [ ForInit ] ';' [ Expression ] ';' [ ExpressionList ] ')' Statement
| 'for' '(' FormalParameter ':' Expression ')' Statement
ForInit :=
Modifiers Type VariableDeclarators
| ModifiersOpt BasicType VariableDeclarators
| Expression VariableDeclarators (1)
| Expression { ',' Expression }
|
Java.Statement |
Parser.parseIfStatement() |
IfStatement := 'if' '(' Expression ')' Statement [ 'else' Statement ]
|
Java.Statement |
Parser.parseLabeledStatement() |
LabeledStatement := Identifier ':' Statement
|
Java.Statement |
Parser.parseReturnStatement() |
ReturnStatement := 'return' [ Expression ] ';'
|
Java.Statement |
Parser.parseStatement() |
Statement :=
LabeledStatement |
Block |
IfStatement |
ForStatement |
WhileStatement |
DoStatement |
TryStatement |
'switch' ...
|
Java.Statement |
Parser.parseSwitchStatement() |
SwitchStatement :=
'switch' '(' Expression ')' '{' { SwitchLabels BlockStatements } '}'
SwitchLabels := SwitchLabels { SwitchLabels }
SwitchLabel := 'case' Expression ':' | 'default' ':'
|
Java.Statement |
Parser.parseSynchronizedStatement() |
SynchronizedStatement :=
'synchronized' '(' expression ')' Block
|
Java.Statement |
Parser.parseThrowStatement() |
ThrowStatement := 'throw' Expression ';'
|
Java.Statement |
Parser.parseTryStatement() |
TryStatement :=
'try' Block Catches [ Finally ] |
'try' Block Finally
Catches := CatchClause { CatchClause }
CatchClause := 'catch' '(' FormalParameter ')' Block
Finally := 'finally' Block
|
Java.Statement |
Parser.parseWhileStatement() |
WhileStatement := 'while' '(' Expression ')' Statement
|
Constructor | Description |
---|---|
LabeledStatement(Location location,
String label,
Java.Statement body) |
Modifier and Type | Method | Description |
---|---|---|
void |
Traverser.traverseStatement(Java.Statement s) |
Copyright © 2001–2019. All rights reserved.