Fan

 

class

compiler::BreakStmt

sys::Obj
  compiler::Node
    compiler::Stmt
      compiler::BreakStmt

BreakStmt breaks out of a while/for loop.

Slots

isDefiniteAssignSource

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

Check for definite assignment where the given function returns true for the LHS of an assignment in all code paths.

isExitSource

override Bool isExit()

Overrides compiler::Stmt.isExit

Doc inherited from compiler::Stmt.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)

loopSource

Stmt? loop

makeSource

new make(Location location)

printSource

override Void print(AstWriter out)

Overrides compiler::Node.print

Doc inherited from compiler::Node.print

Pretty print this node and it's descendants.