logo

class

compiler::IfStmt

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

IfStmt models an if or if/else statement.

Slots

condition

Expr condition

falseBlock

Block falseBlock

isExit

override Bool isExit()

make

new make(Location location)

print

override Void print(AstWriter out)

trueBlock

Block trueBlock

walkChildren

override Void walkChildren(Visitor v, VisitDepth depth)