|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StatementAST | |
jparse | Provides the main classes that parse and evaluate Java programs. |
jparse.stmt | Provides classes that represent Java statements. |
Uses of StatementAST in jparse |
Fields in jparse declared as StatementAST | |
StatementAST |
CompileContext.nextStmt
The next statement in sequence after the current one |
Methods in jparse that return StatementAST | |
StatementAST |
SymbolTable.getLabel(String label)
Find a labeled statement in the symbol table |
StatementAST |
CompileContext.breakTarget()
Get the current break target |
StatementAST |
CompileContext.continueTarget()
Get the current continue target |
Uses of StatementAST in jparse.stmt |
Subclasses of StatementAST in jparse.stmt | |
class |
BreakAST
An AST node that represents a break statement |
class |
CaseGroupAST
An AST node that represents a "case group"; i.e., a code block that starts with one or more case foo: or default: labels |
class |
CatchAST
An AST node that represents a catch clause |
class |
ClassAST
An AST node that represents a type definition statement |
class |
CompoundAST
An AST node that represents a compound statement |
class |
ContinueAST
An AST node that represents a continue statement |
class |
DeclarationAST
An AST node that represents a variable declaration statement |
class |
DoWhileAST
An AST node that represents a do-while statement |
class |
EmptyAST
An AST node that represents an empty statement |
class |
ExpressionAST
An AST node that represents an expression statement |
class |
ForAST
An AST node that represents a for statement |
class |
IfElseAST
An AST node that represents an if-else statement |
class |
LabelAST
An AST node that represents a labeled statement |
class |
ReturnAST
An AST node that represents a return statement |
class |
SwitchAST
An AST node that represents a switch statement |
class |
SynchronizedAST
An AST node that represents a synchronized block |
class |
ThrowAST
An AST node that represents a throw statement |
class |
TryAST
An AST node that represents a try-catch-finally statement |
class |
WhileAST
An AST node that represents a while statement |
Fields in jparse.stmt declared as StatementAST | |
private StatementAST |
WhileAST.stmt
The statement |
static StatementAST |
StatementAST.nonlocal
A special member of the StatementAST class which is used
to indicate that control passes out of the current method due to a
throw or return . |
protected StatementAST |
StatementAST.next
The next statement in a sequential list of statements |
protected StatementAST[] |
StatementAST.control
The points to which control might flow from this statement |
private StatementAST |
LabelAST.labeled
The labeled statement |
private StatementAST |
IfElseAST.thenStmt
The "then" statement |
private StatementAST |
IfElseAST.elseStmt
The "else" statement |
private StatementAST |
ForAST.stmt
The statement |
private StatementAST |
DoWhileAST.stmt
The statement |
private StatementAST[] |
CompoundAST.stmtList
The statement list |
private StatementAST[] |
CaseGroupAST.stmtList
The statement list |
Methods in jparse.stmt that return StatementAST | |
protected StatementAST[] |
WhileAST.computeControl()
|
StatementAST |
WhileAST.getBody()
Get the body of the loop |
protected StatementAST[] |
TryAST.computeControl()
|
protected StatementAST[] |
ThrowAST.computeControl()
|
protected StatementAST[] |
SynchronizedAST.computeControl()
|
StatementAST |
SynchronizedAST.getBody()
Get the body of the synchronized statement |
protected StatementAST[] |
SwitchAST.computeControl()
|
StatementAST[] |
StatementAST.nextControlPoints()
Get the list of points to which control might pass after executing this statement. |
protected abstract StatementAST[] |
StatementAST.computeControl()
Compute the list of points to which control might flow after this statement |
protected StatementAST[] |
ReturnAST.computeControl()
|
protected StatementAST[] |
LabelAST.computeControl()
|
StatementAST |
LabelAST.getStatement()
Get the statement that is labeled |
protected StatementAST[] |
IfElseAST.computeControl()
|
StatementAST |
IfElseAST.getThen()
Get the then part of the if statement |
StatementAST |
IfElseAST.getElse()
Get the else part of the if statement |
protected StatementAST[] |
ForAST.computeControl()
|
StatementAST |
ForAST.getBody()
Get the body of the for loop |
protected StatementAST[] |
ExpressionAST.computeControl()
|
protected StatementAST[] |
EmptyAST.computeControl()
|
protected StatementAST[] |
DoWhileAST.computeControl()
|
StatementAST |
DoWhileAST.getBody()
Get the body of the loop |
protected StatementAST[] |
DeclarationAST.computeControl()
|
protected StatementAST[] |
ContinueAST.computeControl()
|
protected StatementAST[] |
CompoundAST.computeControl()
|
StatementAST[] |
CompoundAST.getList()
Get the list of statements in this compound statement |
protected StatementAST[] |
ClassAST.computeControl()
|
protected StatementAST[] |
CatchAST.computeControl()
|
protected StatementAST[] |
CaseGroupAST.computeControl()
|
StatementAST[] |
CaseGroupAST.getList()
Get the list of statements in this group |
protected StatementAST[] |
BreakAST.computeControl()
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |