logo
class

compiler::ForStmt

sys::Obj
  compiler::Node
    compiler::Stmt
      compiler::ForStmt

ForStmt models a for loop of the format:

for (init; condition; update) block

Slots

block

Block block

condition

Expr condition

init

Stmt init

isExit

virtual Bool isExit()

make

new make(Location location)

print

virtual Void print(AstWriter out)

update

Expr update

walkChildren

virtual Void walkChildren(Visitor v, VisitDepth depth)