logo

class

compiler::WhileStmt

sys::Obj
  compiler::Node
    compiler::Stmt
      compiler::WhileStmt

WhileStmt models a while loop of the format:

while (condition) block

Slots

block

Block block

Source

condition

Expr condition

Source

isExit

override Bool isExit()

Does this statement always cause us to exit the method (or does it cause us to loop forever without a break to the next statement)

Source

make

new make(Location location)

Source

print

override Void print(AstWriter out)

Pretty print this node and it's descendants.

Source

walkChildren

override Void walkChildren(Visitor v, VisitDepth depth)

Source