Uses of Class
org.codehaus.janino.Java.Statement
Packages that use Java.Statement
Package
Description
The core of the Janino Java compiler.
Application-independent helper classes.
-
Uses of Java.Statement in org.codehaus.janino
Subclasses of Java.Statement in org.codehaus.janinoModifier and TypeClassDescriptionstatic final class
Representation of the JLS7 14.10 ASSERT statement.static final class
Representation of a Java "block" (JLS7 14.2).static class
Base class for statements that can be terminated abnormally with abreak
statement.static final class
Representation of the JLS7 14.15 BREAK statement.static class
Base class for statements that support the "continue" statement.static final class
Representation of the JLS7 14.16 CONTINUE statement.static final class
Representation of a JLS7 14.13 DO statement.static final class
Representation of the "empty statement", i.e.static final class
Representation of the JLS7 14.8 "expression statement".static final class
This class is derived from "Statement", because it provides for the initialization of the field.static final class
Representation of a JLS7 14.14.2 "enhanced FOR statement".static final class
Representation of a JLS7 14.14.1 "basic FOR statement".static final class
Representation of a JLS7 14.9 IF statement.static final class
Representation of a JLS7 14.7 "labeled statement".static final class
Representation of the JLS7 14.3 "local class declaration statement".static final class
Representation of a JLS7 14.4 "local variable declaration statement".static final class
Representation of the JLS7 14.17 RETURN statement.static final class
The JLS7 14.10switch
Statement.static final class
Representation of a JLS7 14.9 SYNCHRONIZED statement.static final class
Representation of a JLS7 14.18 THROW statement.static final class
Representation of a JLS7 14.20 TRY statement.static final class
Representation of the JLS7 14.2 WHILE statement.Fields in org.codehaus.janino declared as Java.StatementModifier and TypeFieldDescriptionfinal Java.Statement
Java.LabeledStatement.body
The labeled block.Methods in org.codehaus.janino that return Java.StatementModifier and TypeMethodDescriptionParser.parseAssertStatement()
AssertStatement := 'assert' Expression [ ':' Expression ] ';'Parser.parseBreakStatement()
BreakStatement := 'break' [ Identifier ] ';'Parser.parseContinueStatement()
ContinueStatement := 'continue' [ Identifier ] ';'Parser.parseDoStatement()
DoStatement := 'do' Statement 'while' '(' Expression ')' ';'Parser.parseEmptyStatement()
EmptyStatement := ';'Parser.parseExpressionStatement()
ExpressionStatement := Expression ';'Parser.parseForStatement()
ForStatement := 'for' '(' [ ForInit ] ';' [ Expression ] ';' [ ExpressionList ] ')' Statement | 'for' '(' FormalParameter ':' Expression ')' Statement ForInit := Modifiers Type VariableDeclarators | ModifiersOpt PrimitiveType VariableDeclarators | Expression VariableDeclarators (1) | Expression { ',' Expression }Parser.parseIfStatement()
IfStatement := 'if' '(' Expression ')' Statement [ 'else' Statement ]Parser.parseLabeledStatement()
LabeledStatement := Identifier ':' StatementParser.parseReturnStatement()
ReturnStatement := 'return' [ Expression ] ';'Parser.parseStatement()
Statement := LabeledStatement | Block | IfStatement | ForStatement | WhileStatement | DoStatement | TryStatement | 'switch' ...Parser.parseSwitchStatement()
SwitchStatement := 'switch' '(' Expression ')' '{' { SwitchLabels BlockStatements } '}' SwitchLabels := SwitchLabels { SwitchLabels } SwitchLabel := 'case' Expression ':' | 'default' ':'Parser.parseSynchronizedStatement()
SynchronizedStatement := 'synchronized' '(' expression ')' BlockParser.parseThrowStatement()
ThrowStatement := 'throw' Expression ';'Parser.parseTryStatement()
TryStatement := 'try' Block Catches [ Finally ] | 'try' Block Finally Catches := CatchClause { CatchClause } CatchClause := 'catch' '(' FormalParameter ')' Block Finally := 'finally' BlockParser.parseWhileStatement()
WhileStatement := 'while' '(' Expression ')' StatementMethods in org.codehaus.janino with parameters of type Java.StatementModifier and TypeMethodDescriptionprivate static Map
<String, Java.LocalVariable> UnitCompiler.buildLocalVariableMap
(Java.Statement s, Map<String, Java.LocalVariable> localVars) Constructors in org.codehaus.janino with parameters of type Java.StatementModifierConstructorDescriptionLabeledStatement
(Location location, String label, Java.Statement body) -
Uses of Java.Statement in org.codehaus.janino.util
Methods in org.codehaus.janino.util that return Java.StatementMethods in org.codehaus.janino.util with parameters of type Java.StatementModifier and TypeMethodDescriptionDeepCopier.copyStatement
(Java.Statement subject) void
AbstractTraverser.traverseStatement
(Java.Statement s) void
Traverser.traverseStatement
(Java.Statement s)