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

override Bool isExit()

make

new make(Location location)

print

override Void print(AstWriter out)

update

Expr update

walkChildren

override Void walkChildren(Visitor v, VisitDepth depth)