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