|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Statement | |
openjava.mop | Provides classes that are fundamental to the design of the OpenJava Meta-Object Protocols (MOP). |
openjava.ptree | |
openjava.ptree.util | |
openjava.syntax |
Uses of Statement in openjava.mop |
Methods in openjava.mop that return Statement | |
protected static Statement |
OJClass.makeStatement(Environment env,
java.lang.String str)
Generates a statement parse tree from a given String object under the given environment. |
protected Statement |
OJClass.makeStatement(java.lang.String str)
Generates a statement parse tree from a given String object under the environment of
this class object. |
Statement |
OJClass.expandVariableDeclaration(Environment env,
VariableDeclaration decl)
|
Uses of Statement in openjava.ptree |
Classes in openjava.ptree that implement Statement | |
class |
Block
The Block class represents a node of parse tree of block statement like : { int i = 0; i = f( i ); } |
class |
BreakStatement
The BreakStatement class represents
a break statement node of parse tree. |
class |
ClassDeclaration
The ClassDeclaration class presents class declaraton node of parse tree. |
class |
ContinueStatement
The ContinueStatement class represents
a continue statement node of parse tree. |
class |
DoWhileStatement
The DoWhileStatement class represents a do-while
statement node of parse tree. |
class |
EmptyStatement
The EmptyStatement class represents an empty statement node of parse tree. |
class |
ExpressionStatement
The ExpressionStatement class presents expression statement node of parse tree |
class |
ForStatement
The ForStatement class represents a for statement
node of parse tree.
|
class |
IfStatement
The IfStatement class represents a if statement node
of parse tree |
class |
LabeledStatement
The LabeledStatement class presents labeled statement node of parse tree |
class |
ReturnStatement
The ReturnStatement class represents
a return statement node of parse tree. |
class |
SwitchStatement
The SwitchStatement class represents switch statement node
of parse tree.
|
class |
SynchronizedStatement
The SynchronizedStatement class represents
a synchronized statement node of parse tree. |
class |
ThrowStatement
The ThrowStatement class represents
a throw statement node of parse tree. |
class |
TryStatement
The TryStatement class represents
a try statement node of parse tree. |
class |
VariableDeclaration
The VariableDeclaration class presents local variable declaration statement node of parse tree. |
class |
WhileStatement
The WhileStatement class presents while statement node of parse tree |
Methods in openjava.ptree that return Statement | |
Statement |
StatementList.get(int n)
Gets the specified element at the index. |
Statement |
StatementList.remove(int index)
Removes the element at the specified position in this Vector. shifts any subsequent elements to the left (subtracts one from their indices). |
Statement |
LabeledStatement.getStatement()
Gets the statement of this labeled statement |
Methods in openjava.ptree with parameters of type Statement | |
void |
StatementList.add(Statement p)
Adds the specified element after the list This causes side-effect. |
void |
StatementList.set(int index,
Statement p)
Adds the specified element after the list This causes side-effect. |
void |
StatementList.insertElementAt(Statement p,
int n)
Inserts the specified element into the list before the specified element of the list. |
void |
LabeledStatement.setStatement(Statement stmt)
Sets the statement of this labeled statement |
Constructors in openjava.ptree with parameters of type Statement | |
StatementList(Statement e0)
|
|
StatementList(Statement e0,
Statement e1)
|
|
StatementList(Statement e0,
Statement e1,
Statement e2)
|
|
LabeledStatement(java.lang.String name,
Statement statement)
Allocates a new object. |
Uses of Statement in openjava.ptree.util |
Methods in openjava.ptree.util with parameters of type Statement | |
void |
ParseTreeVisitor.visit(Statement p)
|
Uses of Statement in openjava.syntax |
Methods in openjava.syntax that return Statement | |
Statement |
StatementRule.consumeStatement(TokenSource token_src)
|
static Statement |
JavaSyntaxRules.consumeStatement(TokenSource token_src,
Environment env)
Consumes a statement. |
static Statement |
JavaSyntaxRules.consumeStatement(TokenSource token_src)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |