Exemplo n.º 1
0
 public IfElseStatementNode(ExpressionNode condition, StatementNode ifTrue, StatementNode ifFalse, SourceSpan span)
     : base(span)
 {
     this.condition = condition;
     this.ifTrue = ifTrue;
     this.ifFalse = ifFalse;
 }
Exemplo n.º 2
0
 public ForStatementNode(LexicalScope scope, StatementNode initializer, ExpressionNode condition,
     ExpressionNode incrementer, StatementNode body, SourceSpan span)
     : base(span)
 {
     this.scope = scope;
     this.initializer = initializer;
     this.condition = condition;
     this.incrementer = incrementer;
     this.body = body;
 }
Exemplo n.º 3
0
 public IfElseStatementNode(ExpressionNode condition, StatementNode ifTrue, SourceSpan span)
     : this(condition, ifTrue, null, span)
 { }