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