jltools.ast
Interface For

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

public interface For
extends Stmt

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
 For body(Stmt body)
           
 Expr cond()
          Loop condition
 For cond(Expr cond)
           
 java.util.List inits()
          List of initialization statements
 For inits(java.util.List inits)
           
 java.util.List iters()
          List of iterator expressions
 For iters(java.util.List iters)
           
 
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

inits

public java.util.List inits()
List of initialization statements

inits

public For inits(java.util.List inits)

cond

public Expr cond()
Loop condition

cond

public For cond(Expr cond)

iters

public java.util.List iters()
List of iterator expressions

iters

public For iters(java.util.List iters)

body

public Stmt body()
Loop body

body

public For body(Stmt body)