Package | Description |
---|---|
org.codehaus.janino |
The classes in this package pose the core of the Janino JavaTM
compiler.
|
Modifier and Type | Class and Description |
---|---|
static class |
Java.AlternateConstructorInvocation |
static class |
Java.Block
Representation of a Java™ "block" (JLS 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 Java™ "break" statement (JLS 14.14).
|
static class |
Java.ConstructorInvocation |
static class |
Java.ContinuableStatement |
static class |
Java.ContinueStatement
Representation of the Java™ "continue" statement (JLS
14.15).
|
static class |
Java.DoStatement |
static class |
Java.EmptyStatement
Represents the "empty statement", i.e.
|
static class |
Java.ExpressionStatement |
static class |
Java.FieldDeclaration
This class is derived from "Statement", because it provides for the
initialization of the field.
|
static class |
Java.ForStatement |
static class |
Java.IfStatement |
static class |
Java.Initializer
Representation of an instance (JLS2 8.6) or static initializer (JLS2 8.7).
|
static class |
Java.LabeledStatement |
static class |
Java.LocalClassDeclarationStatement |
static class |
Java.LocalVariableDeclarationStatement |
static class |
Java.ReturnStatement |
static class |
Java.Statement |
static class |
Java.SuperConstructorInvocation |
static class |
Java.SwitchStatement
14.10 The "switch" Statement
|
static class |
Java.SynchronizedStatement |
static class |
Java.ThrowStatement |
static class |
Java.TryStatement |
static class |
Java.WhileStatement |
Modifier and Type | Field and Description |
---|---|
Java.BlockStatement |
Java.ForStatement.body |
Java.BlockStatement |
Java.WhileStatement.body |
Java.BlockStatement |
Java.TryStatement.body |
Java.BlockStatement |
Java.SynchronizedStatement.body |
Java.BlockStatement |
Java.DoStatement.body |
Java.BlockStatement |
Java.IfStatement.optionalElseStatement |
Java.BlockStatement |
Java.ForStatement.optionalInit |
Java.BlockStatement |
Java.IfStatement.thenStatement |
Modifier and Type | Method and Description |
---|---|
Java.BlockStatement |
Java.Rvalue.getEnclosingBlockStatement() |
Java.BlockStatement[] |
Java.Block.getStatements() |
Java.BlockStatement |
Parser.parseBlockStatement()
BlockStatement := { Identifier ':' } (
( Modifiers Type | ModifiersOpt BasicType ) LocalVariableDeclarators ';' |
'class' ...
|
Modifier and Type | Method and Description |
---|---|
void |
Java.Block.addStatement(Java.BlockStatement statement) |
boolean |
UnitCompiler.generatesCode2(Java.BlockStatement bs) |
void |
UnitCompiler.leave2(Java.BlockStatement bs,
IClass optionalStackValueType) |
void |
Java.Rvalue.setEnclosingBlockStatement(Java.BlockStatement enclosingBlockStatement)
Sets enclosing block statement for this object and all subordinate
Java.Rvalue objects. |
Constructor and Description |
---|
DoStatement(Location location,
Java.BlockStatement body,
Java.Rvalue condition) |
ForStatement(Location location,
Java.BlockStatement optionalInit,
Java.Rvalue optionalCondition,
Java.Rvalue[] optionalUpdate,
Java.BlockStatement body) |
IfStatement(Location location,
Java.Rvalue condition,
Java.BlockStatement thenStatement,
Java.BlockStatement optionalElseStatement)
Notice that the
elseStatement is mandatory; for an if statement without
an "else" clause, a dummy Java.EmptyStatement should be passed. |
SynchronizedStatement(Location location,
Java.Rvalue expression,
Java.BlockStatement body) |
TryStatement(Location location,
Java.BlockStatement body,
List catchClauses,
Java.Block optionalFinally) |
WhileStatement(Location location,
Java.Rvalue condition,
Java.BlockStatement body) |
Copyright © 2001–2014. All rights reserved.