Exemplo n.º 1
0
 public SwitchErrorStatement(String errorName, StatementList statements, SwitchCaseList handlers, StatementList anyStmts, StatementList finalStmts)
     : base(handlers, anyStmts)
 {
     this.errorName        = errorName;
     this.statements       = statements;
     this.alwaysStatements = finalStmts;
 }
Exemplo n.º 2
0
 public SwitchStatement(IExpression expression, SwitchCaseList switchCases, StatementList defaultCase)
     : base(switchCases, defaultCase)
 {
     this.expression = expression;
 }
Exemplo n.º 3
0
 public BaseSwitchStatement(SwitchCaseList switchCases, StatementList defaultCase)
 {
     this.switchCases = switchCases != null ? switchCases : new SwitchCaseList();
     this.defaultCase = defaultCase;
 }
Exemplo n.º 4
0
 public BaseSwitchStatement()
 {
     this.switchCases = new SwitchCaseList();
     this.defaultCase = null;
 }