class compiler::SwitchStmt

sys::Obj
  compiler::Node
    compiler::Stmt
      compiler::SwitchStmt

Source

SwitchStmt models a switch and its case and default block

cases

Case[] cases

Source

condition

Expr condition

Source

defaultBlock

Block? defaultBlock

Source

isDefiniteAssign

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

Source

isExit

virtual override Bool isExit()

Source

isTableswitch

Bool isTableswitch

Source

make

new make(Loc loc, Expr condition)

Source

print

virtual override Void print(AstWriter out)

Source

walkChildren

virtual override Void walkChildren(Visitor v, VisitDepth depth)

Source