Class SwitchStatement

All Implemented Interfaces:
IParsedElement, IStatement, ISwitchStatement

public final class SwitchStatement extends Statement implements ISwitchStatement
Represents a switch-statement as specified in the Gosu grammar:
 switch-statement
   switch (<expression>) { [switch-cases] [switch-default] }
 

switch-cases <switch-case> <switch-cases> <switch-case>

switch-case case <expression> : [statement-list]

switch-default default : [statement-list]

See Also: