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

Source

condition

Expr condition

Source

defaultBlock

Block defaultBlock

Source

isExit

override Bool 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)

Source

isTableswitch

Bool isTableswitch

Source

make

new make(Location location)

Source

print

override Void print(AstWriter out)

Pretty print this node and it's descendants.

Source

walkChildren

override Void walkChildren(Visitor v, VisitDepth depth)

Source