Uses of Class
com.go.tea.parsetree.Statement

Packages that use Statement
com.go.tea.parsetree   
 

Uses of Statement in com.go.tea.parsetree
 

Subclasses of Statement in com.go.tea.parsetree
 class AssignmentStatement
          AssignmentStatements can only assign values to variables, and not to array elements.
 class Block
          A Block is a StatementList that most likely appeared in the source file delimited by braces.
 class BreakStatement
           
 class ExceptionGuardStatement
          A statement that catches instances of Exception, calls ThreadGroup.uncaughtException, and moves on.
 class ExpressionStatement
          An ExpressionStatement allows an Expression to be converted to a Statement.
 class ForeachStatement
          A ForeachStatement iterates over the values of an array or a Collection, storing each value in a variable, allowing a statement or statements to operate on each.
 class IfStatement
          An IfStatement consists of a condition, a "then" part and an "else" part.
 class ReturnStatement
          A ReturnStatement allows the values of Expressions to be returned from an execution scope.
 class StatementList
          A StatementList wraps a list of statements as if they were a single statement.
 class SubstitutionStatement
          SubstitutionStatement is represented as '...' in a template.
 

Methods in com.go.tea.parsetree that return Statement
 Statement Template.getStatement()
          Will likely return a StatementList or Block in order to hold many statements.
 Statement ExceptionGuardStatement.getGuarded()
          May return null if removed.
 Statement ExceptionGuardStatement.getReplacement()
          May return null since this is optional.
 Statement CallExpression.getInitializer()
          Initializer is a section of code that executes before the substitution param.
 Statement[] StatementList.getStatements()
           
 Statement Block.getInitializer()
          Initializer is executed at the beginning of the block and may be defined by a type checker in order to correctly manage variable types.
 Statement Block.getFinalizer()
          Finalizer is executed at the end of the block and may be defined by a type checker in order to correctly manage variable types.
 Statement ForeachStatement.getInitializer()
          Initializer is a section of code that executes before the loop is entered.
 

Methods in com.go.tea.parsetree with parameters of type Statement
 java.lang.Object TreeMutator.visit(Statement node)
           
 void Template.setStatement(Statement stmt)
           
 void ExceptionGuardStatement.setGuarded(Statement guarded)
           
 void ExceptionGuardStatement.setReplacement(Statement replacement)
           
 void CallExpression.setInitializer(Statement stmt)
           
 void Block.setInitializer(Statement initializer)
           
 void Block.setFinalizer(Statement finalizer)
           
 java.lang.Object TreeWalker.visit(Statement node)
           
 java.lang.Object NodeVisitor.visit(Statement node)
           
 void ForeachStatement.setInitializer(Statement stmt)
           
 

Constructors in com.go.tea.parsetree with parameters of type Statement
Template(SourceInfo info, Name name, Variable[] params, boolean subParam, Statement statement)
           
ExceptionGuardStatement(Statement guarded, Statement replacement)
           
ExceptionGuardStatement(SourceInfo info, Statement guarded, Statement replacement)
           
StatementList(SourceInfo info, Statement[] statements)
           
Block(SourceInfo info, Statement[] statements)
           
Block(Statement stmt)