class compiler::IfStmt

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

Source

IfStmt models an if or if/else statement.

condition

Expr condition

Source

falseBlock

Block? falseBlock

Source

isDefiniteAssign

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

Source

isExit

virtual override Bool isExit()

Source

make

new make(Loc loc, Expr condition, Block trueBlock)

Source

print

virtual override Void print(AstWriter out)

Source

trueBlock

Block trueBlock

Source

walkChildren

virtual override Void walkChildren(Visitor v, VisitDepth depth)

Source