Uses of Interface
openjava.ptree.Statement

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 that return Statement
 Statement EvaluationShuttle.evaluateDown(Block p)
           
 Statement EvaluationShuttle.evaluateDown(BreakStatement p)
           
 Statement EvaluationShuttle.evaluateDown(ContinueStatement p)
           
 Statement EvaluationShuttle.evaluateDown(DoWhileStatement p)
           
 Statement EvaluationShuttle.evaluateDown(EmptyStatement p)
           
 Statement EvaluationShuttle.evaluateDown(ExpressionStatement p)
           
 Statement EvaluationShuttle.evaluateDown(ForStatement p)
           
 Statement EvaluationShuttle.evaluateDown(IfStatement p)
           
 Statement EvaluationShuttle.evaluateDown(LabeledStatement p)
           
 Statement EvaluationShuttle.evaluateDown(ReturnStatement p)
           
 Statement EvaluationShuttle.evaluateDown(SwitchStatement p)
           
 Statement EvaluationShuttle.evaluateDown(SynchronizedStatement p)
           
 Statement EvaluationShuttle.evaluateDown(ThrowStatement p)
           
 Statement EvaluationShuttle.evaluateDown(TryStatement p)
           
 Statement EvaluationShuttle.evaluateDown(VariableDeclaration p)
           
 Statement EvaluationShuttle.evaluateDown(WhileStatement p)
           
 Statement EvaluationShuttle.evaluateUp(Block p)
           
 Statement EvaluationShuttle.evaluateUp(BreakStatement p)
           
 Statement EvaluationShuttle.evaluateUp(ContinueStatement p)
           
 Statement EvaluationShuttle.evaluateUp(DoWhileStatement p)
           
 Statement EvaluationShuttle.evaluateUp(EmptyStatement p)
           
 Statement EvaluationShuttle.evaluateUp(ExpressionStatement p)
           
 Statement EvaluationShuttle.evaluateUp(ForStatement p)
           
 Statement EvaluationShuttle.evaluateUp(IfStatement p)
           
 Statement EvaluationShuttle.evaluateUp(LabeledStatement p)
           
 Statement EvaluationShuttle.evaluateUp(ReturnStatement p)
           
 Statement EvaluationShuttle.evaluateUp(SwitchStatement p)
           
 Statement EvaluationShuttle.evaluateUp(SynchronizedStatement p)
           
 Statement EvaluationShuttle.evaluateUp(ThrowStatement p)
           
 Statement EvaluationShuttle.evaluateUp(TryStatement p)
           
 Statement EvaluationShuttle.evaluateUp(VariableDeclaration p)
           
 Statement EvaluationShuttle.evaluateUp(WhileStatement p)
           
 Statement ScopeHandler.evaluateDown(Block ptree)
           
 Statement ScopeHandler.evaluateDown(SwitchStatement ptree)
           
 Statement ScopeHandler.evaluateDown(IfStatement ptree)
           
 Statement ScopeHandler.evaluateDown(WhileStatement ptree)
           
 Statement ScopeHandler.evaluateDown(DoWhileStatement ptree)
           
 Statement ScopeHandler.evaluateDown(ForStatement ptree)
           
 Statement ScopeHandler.evaluateDown(TryStatement ptree)
           
 Statement ScopeHandler.evaluateDown(SynchronizedStatement ptree)
           
 Statement ScopeHandler.evaluateUp(Block ptree)
           
 Statement ScopeHandler.evaluateUp(SwitchStatement ptree)
           
 Statement ScopeHandler.evaluateUp(IfStatement ptree)
           
 Statement ScopeHandler.evaluateUp(WhileStatement ptree)
           
 Statement ScopeHandler.evaluateUp(DoWhileStatement ptree)
           
 Statement ScopeHandler.evaluateUp(ForStatement ptree)
           
 Statement ScopeHandler.evaluateUp(TryStatement ptree)
           
 Statement ScopeHandler.evaluateUp(SynchronizedStatement ptree)
           
static Statement PartialParser.makeStatement(Environment env, java.lang.String str)
          Makes a ptree node from the string like :
"i++;"
or :
"for(;;){ f(); }"
But local variable declarations are not allowed.
 Statement VariableBinder.evaluateDown(VariableDeclaration ptree)
           
 Statement VariableBinder.evaluateDown(ForStatement ptree)
           
 Statement ExpansionApplier.evaluateUp(VariableDeclaration p)
          Includes expandVariableDeclaration().
 

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)