Example #1
0
 public void setFinal(StatementList instructions)
 {
     elements.Add(new IfElement(null, instructions));
 }
Example #2
0
 public SwitchStatement(IExpression expression, SwitchCaseList switchCases, StatementList defaultCase)
     : base(switchCases, defaultCase)
 {
     this.expression = expression;
 }
Example #3
0
 public void addAdditional(IExpression condition, StatementList instructions)
 {
     elements.Add(new IfElement(condition, instructions));
 }
Example #4
0
 public DeleteAndStoreStatement(ExpressionList deletables, ExpressionList storables, IExpression metadata, StatementList andThen)
 {
     this.deletables = deletables;
     this.storables  = storables;
     this.metadata   = metadata;
     this.andThen    = andThen;
 }
Example #5
0
 public CollectionSwitchCase(IExpression expression, StatementList list)
     : base(expression, list)
 {
 }
Example #6
0
 public IfStatement(IExpression condition, StatementList statements, IfElementList elseIfs, StatementList elseStmts)
 {
     elements.Add(new IfElement(condition, statements));
     if (elseIfs != null)
     {
         elements.AddRange(elseIfs);
     }
     if (elseStmts != null)
     {
         elements.Add(new IfElement(null, elseStmts));
     }
 }
Example #7
0
 public RemoteCall(UnresolvedCall call, String resultName, StatementList andThen)
     : base(call)
 {
     this.resultName = resultName;
     this.andThen    = andThen;
 }
Example #8
0
 public SwitchCase(IExpression expression, StatementList statements)
 {
     this.expression = expression;
     this.statements = statements;
 }
Example #9
0
 public SwitchErrorStatement(String errorName, StatementList statements)
 {
     this.errorName  = errorName;
     this.statements = statements;
 }
Example #10
0
 public void setDefaultCase(StatementList defaultCase)
 {
     this.defaultCase = defaultCase;
 }
Example #11
0
 public AtomicSwitchCase(IExpression expression, StatementList list)
     : base(expression, list)
 {
 }
Example #12
0
 public BaseSwitchStatement(SwitchCaseList switchCases, StatementList defaultCase)
 {
     this.switchCases = switchCases != null ? switchCases : new SwitchCaseList();
     this.defaultCase = defaultCase;
 }
Example #13
0
 public BaseSwitchStatement()
 {
     this.switchCases = new SwitchCaseList();
     this.defaultCase = null;
 }
Example #14
0
 public RemoteCall(IExpression caller, ArgumentList arguments, String resultName, StatementList andThen)
     : base(caller, arguments)
 {
     this.resultName = resultName;
     this.andThen    = andThen;
 }
Example #15
0
 public IfElement(IExpression condition, StatementList statements)
 {
     this.condition  = condition;
     this.statements = statements;
 }
Example #16
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;
 }
Example #17
0
 public IfStatement(IExpression condition, StatementList statements)
 {
     elements.Add(new IfElement(condition, statements));
 }
Example #18
0
 public void setAlwaysInstructions(StatementList list)
 {
     alwaysStatements = list;
 }
Example #19
0
 public WithSingletonStatement(CategoryType type, StatementList statements)
 {
     this.type       = type;
     this.statements = statements;
 }
Example #20
0
 public WithResourceStatement(AssignVariableStatement resource, StatementList statements)
 {
     this.resource   = resource;
     this.statements = statements;
 }