jltools.ast
Interface While

All Superinterfaces:
java.lang.Cloneable, Copy, Node, java.io.Serializable, Stmt
All Known Implementing Classes:
While_c

public interface While
extends Stmt

An immutable representation of a Java language while statement. It contains a statement to be executed and an expression to be tested indicating whether to reexecute the statement.


Method Summary
 Stmt body()
           
 While body(Stmt body)
           
 Expr cond()
           
 While cond(Expr cond)
           
 
Methods inherited from interface jltools.ast.Node
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren
 

Method Detail

cond

public Expr cond()

cond

public While cond(Expr cond)

body

public Stmt body()

body

public While body(Stmt body)