|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Statement | |
|---|---|
| org.teatrove.tea.compiler | |
| org.teatrove.tea.parsetree | |
| Uses of Statement in org.teatrove.tea.compiler |
|---|
| Methods in org.teatrove.tea.compiler with parameters of type Statement | |
|---|---|
Object |
TypeChecker.Visitor.visit(Statement node)
|
| Uses of Statement in org.teatrove.tea.parsetree |
|---|
| Subclasses of Statement in org.teatrove.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 |
ContinueStatement
|
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 org.teatrove.tea.parsetree that return Statement | |
|---|---|
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 |
ExceptionGuardStatement.getGuarded()
May return null if removed. |
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 |
CallExpression.getInitializer()
Initializer is a section of code that executes before the substitution param. |
Statement |
ForeachStatement.getInitializer()
Initializer is a section of code that executes before the loop is entered. |
Statement |
ExceptionGuardStatement.getReplacement()
May return null since this is optional. |
Statement |
Template.getStatement()
Will likely return a StatementList or Block in order to hold many statements. |
Statement[] |
StatementList.getStatements()
|
| Methods in org.teatrove.tea.parsetree with parameters of type Statement | |
|---|---|
void |
Block.setFinalizer(Statement finalizer)
|
void |
ExceptionGuardStatement.setGuarded(Statement guarded)
|
void |
Block.setInitializer(Statement initializer)
|
void |
CallExpression.setInitializer(Statement stmt)
|
void |
ForeachStatement.setInitializer(Statement stmt)
|
void |
ExceptionGuardStatement.setReplacement(Statement replacement)
|
void |
Template.setStatement(Statement stmt)
|
void |
StatementList.setStatements(Statement[] stmts)
|
Object |
NodeVisitor.visit(Statement node)
|
Object |
TreeMutator.visit(Statement node)
|
Object |
TreeWalker.visit(Statement node)
|
| Constructors in org.teatrove.tea.parsetree with parameters of type Statement | |
|---|---|
Block(SourceInfo info,
Statement[] statements)
|
|
Block(Statement stmt)
|
|
ExceptionGuardStatement(SourceInfo info,
Statement guarded,
Statement replacement)
|
|
ExceptionGuardStatement(Statement guarded,
Statement replacement)
|
|
StatementList(SourceInfo info,
Statement[] statements)
|
|
Template(SourceInfo info,
Name name,
Variable[] params,
boolean subParam,
Statement statement,
List<Directive> directiveList)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||