Fantom

 

class compiler::ForStmt

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

Source

ForStmt models a for loop of the format:

for (init; condition; update) block
block

Block? block

Source

condition

Expr? condition

Source

init

Stmt? init

Source

isDefiniteAssign

virtual override Bool isDefiniteAssign(|Expr->Bool| f)

Source

isExit

virtual override Bool isExit()

Source

make

new make(Loc loc)

Source

print

virtual override Void print(AstWriter out)

Source

update

Expr? update

Source

walkChildren

virtual override Void walkChildren(Visitor v, VisitDepth depth)

Source