Uses of Class
openjava.ptree.StatementList

Packages that use StatementList
openjava.mop Provides classes that are fundamental to the design of the OpenJava Meta-Object Protocols (MOP).  
openjava.ptree   
openjava.ptree.util   
 

Uses of StatementList in openjava.mop
 

Methods in openjava.mop that return StatementList
 StatementList OJMethod.getBody()
           
 StatementList OJMethod.setBody(StatementList stmts)
           
protected static StatementList OJClass.makeStatementList(Environment env, java.lang.String str)
          Generates a statement list parse tree from a given String object under the given environment.
protected  StatementList OJClass.makeStatementList(java.lang.String str)
          Generates a statement list parse tree from a given String object under the environment of this class object.
 StatementList OJConstructor.getBody()
           
 StatementList OJConstructor.setBody(StatementList stmts)
           
 

Methods in openjava.mop with parameters of type StatementList
 StatementList OJMethod.setBody(StatementList stmts)
           
 StatementList OJConstructor.setBody(StatementList stmts)
           
 

Constructors in openjava.mop with parameters of type StatementList
OJMethod(OJClass declarer, OJModifier modif, OJClass returnType, java.lang.String name, OJClass[] parameterTypes, OJClass[] exceptionTypes, StatementList body)
          Constructs a new OJMethod object.
OJMethod(OJClass declarer, OJModifier modif, OJClass returnType, java.lang.String name, OJClass[] parameterTypes, java.lang.String[] parameterNames, OJClass[] exceptionTypes, StatementList body)
          Constructs a new OJMethod object.
OJMethod(OJClass declarer, OJModifier modif, OJClass returnType, java.lang.String name, ParameterList params, OJClass[] exceptionTypes, StatementList body)
          Constructs a new OJMethod object.
OJConstructor(OJClass declarer, OJModifier modif, OJClass[] parameterTypes, OJClass[] exceptionTypes, ConstructorInvocation ci, StatementList body)
           
OJConstructor(OJClass declarer, OJModifier modif, OJClass[] parameterTypes, java.lang.String[] parameterNames, OJClass[] exceptionTypes, ConstructorInvocation ci, StatementList body)
           
OJConstructor(OJClass declarer, OJModifier modif, ParameterList params, OJClass[] exceptionTypes, ConstructorInvocation ci, StatementList body)
           
 

Uses of StatementList in openjava.ptree
 

Methods in openjava.ptree that return StatementList
 StatementList StatementList.subList(int from_index, int to_index)
          Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive.
 StatementList Block.getStatements()
          Gets the statement list of this block.
 StatementList ForStatement.getStatements()
          Gets the body of this for-statement.
 StatementList ConstructorDeclaration.getBody()
          Gets the statement list of this constructor body.
 StatementList MethodDeclaration.getBody()
          Gets body of this method.
 StatementList MemberInitializer.getBody()
          Gets the body of this instance initializer.
 StatementList TryStatement.getBody()
          Gets the body of this try statement.
 StatementList TryStatement.getFinallyBody()
          Gets the finally body.
 StatementList DoWhileStatement.getStatements()
          Gets the body of this do-while statement.
 StatementList SynchronizedStatement.getStatements()
          Gets the statements guarded by this synchronization.
 StatementList CaseGroup.getStatements()
           
 StatementList IfStatement.getStatements()
          Gets the then part of this if statement.
 StatementList IfStatement.getElseStatements()
          Gets the else part of this if statement.
 StatementList CatchBlock.getBody()
          Gets the body of this catch block.
 StatementList WhileStatement.getStatements()
          Gets the body of this while statement.
 

Methods in openjava.ptree with parameters of type StatementList
 void StatementList.addAll(StatementList lst)
          Appends a list after this list.
 void Block.setStatements(StatementList stmts)
          Sets the statement list of this block.
 void ForStatement.setStatements(StatementList stmts)
          Sets the body of this for-statement.
 void ConstructorDeclaration.setBody(StatementList stmts)
          Sets the statement list of this constructor body.
 void MethodDeclaration.setBody(StatementList stmts)
          Sets body of this method.
 void MemberInitializer.setBody(StatementList stmts)
          Sets the body of this instance initializer.
 void TryStatement.setBody(StatementList stmts)
          Sets the body of this try statement.
 void TryStatement.setFinallyBody(StatementList finallee)
          Sets the finally body.
 void DoWhileStatement.setStatements(StatementList stmts)
          Sets the body of this do-while statement.
 void SynchronizedStatement.setStatements(StatementList stmts)
          Sets the statements guarded by this synchronization.
 void IfStatement.setStatements(StatementList thenstmts)
          Sets the then part of this if statement.
 void IfStatement.setElseStatements(StatementList elsestmts)
          Sets the else part of this if statement.
 void CatchBlock.setBody(StatementList stmts)
          Sets the body of this catch block.
 void WhileStatement.setStatements(StatementList stmts)
          Sets the body of this while statement.
 

Constructors in openjava.ptree with parameters of type StatementList
Block(StatementList stmts)
          Allocates a new object.
ForStatement(ExpressionList init, Expression expr, ExpressionList iterator, StatementList stmts)
          Allocates a new ForStatement object.
ForStatement(TypeName tspec, VariableDeclarator[] vdecls, Expression expr, ExpressionList iterator, StatementList stmts)
           
ConstructorDeclaration(ModifierList modiflist, java.lang.String name, ParameterList params, TypeName[] throwlist, ConstructorInvocation scstmt, StatementList stmtlist)
          Constructs new ConstructorDeclaration from its elements.
ConstructorDeclaration(ModifierList modiflist, java.lang.String name, ParameterList params, TypeName[] throwlist, StatementList stmtlist)
          Constructs new ConstructorDeclaration from its elements.
MethodDeclaration(ModifierList modiflist, TypeName typespec, java.lang.String name, ParameterList params, TypeName[] throwlist, StatementList block)
          Constructs new MethodDeclaration from its elements.
MemberInitializer(StatementList block)
          Allocates a new object.
MemberInitializer(StatementList block, boolean is_static)
           
TryStatement(StatementList stmts, CatchList catchlist, StatementList finallee)
          Allocates a new TryStatement object.
TryStatement(StatementList stmts, CatchList catchlist)
          Allocates a new TryStatement object.
TryStatement(StatementList stmts, StatementList finallee)
          Allocates a new TryStatement object.
DoWhileStatement(StatementList stmts, Expression expr)
          Allocates a new object.
SynchronizedStatement(Expression expr, StatementList stmts)
          Allocates a new object.
CaseGroup(ExpressionList cll, StatementList bsl)
           
IfStatement(Expression expr, StatementList stmts, StatementList elsestmts)
          Constructs new IfStatement from prototype object
IfStatement(Expression expr, StatementList stmts)
          Constructs new IfStatement from prototype object
CatchBlock(Parameter param, StatementList stmts)
          Allocates a new CatchBlock object.
WhileStatement(Expression expr, StatementList stmts)
          Allocates a new object.
 

Uses of StatementList in openjava.ptree.util
 

Methods in openjava.ptree.util that return StatementList
 StatementList EvaluationShuttle.evaluateDown(StatementList p)
           
 StatementList EvaluationShuttle.evaluateUp(StatementList p)
           
static StatementList PartialParser.makeStatementList(Environment env, java.lang.String str)
          Makes ptree node from the string like :
"i++; j = 3;"
Local variable declarations like following can also be parsed.
 

Methods in openjava.ptree.util with parameters of type StatementList
abstract  void ParseTreeVisitor.visit(StatementList p)
           
 StatementList EvaluationShuttle.evaluateDown(StatementList p)
           
 StatementList EvaluationShuttle.evaluateUp(StatementList p)
           
 void EvaluationShuttle.visit(StatementList p)
           
 void SourceCodeWriter.visit(StatementList p)