logo
class

compiler::SwitchStmt

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

SwitchStmt models a switch and its case and default block

Slots

cases

Case[] cases

condition

Expr condition

defaultBlock

Block defaultBlock

isExit

virtual Bool isExit()

isTableswitch

Bool isTableswitch

make

new make(Location location)

print

virtual Void print(AstWriter out)

walkChildren

virtual Void walkChildren(Visitor v, VisitDepth depth)