Fan

 

class

compiler::IfStmt

sys::Obj
  compiler::Node
    compiler::Stmt
      compiler::IfStmt

IfStmt models an if or if/else statement.

Slots

conditionSource

Expr condition

falseBlockSource

Block? falseBlock

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)

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.

trueBlockSource

Block trueBlock

walkChildrenSource

override Void walkChildren(Visitor v, VisitDepth depth)