|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An immutable representation of a Java language for
statement. Contains a statement to be executed and an expression
to be tested indicating whether to reexecute the statement.
Method Summary | |
Stmt |
body()
Loop body. |
Expr |
cond()
Loop condition |
boolean |
condIsConstant()
Returns true of cond() evaluates to a constant. |
boolean |
condIsConstantTrue()
Returns true if cond() is a constant that evaluates to true. |
Term |
continueTarget()
Target of a continue statement in the loop body. |
Methods inherited from interface polyglot.ast.Term |
acceptCFG, entry, reachable, reachable |
Methods inherited from interface polyglot.ast.Node |
childExpectedType, del, del, dump, ext, ext, ext, ext, position, position, visit, visitChild, visitEdge |
Methods inherited from interface polyglot.ast.JL |
init, node |
Methods inherited from interface polyglot.ast.NodeOps |
addDecls, addMembers, addMembersEnter, buildTypes, buildTypesEnter, disambiguate, disambiguateEnter, enterScope, enterScope, exceptionCheck, exceptionCheckEnter, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, visitChildren |
Methods inherited from interface polyglot.util.Copy |
copy |
Method Detail |
public Expr cond()
public boolean condIsConstant()
public boolean condIsConstantTrue()
public Stmt body()
public Term continueTarget()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |