Example #1
0
 public ForStatement(ForVariable itemVar, Expression condition, Expression incrementor, Block body) : base()
 {
     this.itemVar     = itemVar;
     this.condition   = condition;
     this.incrementor = incrementor;
     this.body        = body;
 }
Example #2
0
 public ForVariableReference(ForVariable decl) : base()
 {
     this.decl = decl;
     decl.references.push(this);
 }