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