
SwitchStmt models a switch and its case and default block
Slots
- cases
-
Case[] cases
- condition
-
Expr condition
- defaultBlock
-
Block defaultBlock
- 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)
- isTableswitch
-
Bool isTableswitch
- make
-
new make(Location location)
-
override Void print(AstWriter out)
Pretty print this node and it's descendants.
- walkChildren
-
override Void walkChildren(Visitor v, VisitDepth depth)