public For(Var <TIndex> index, Value <TIndex> init, Value <bool> condition, VarAssign <TIndex> incr) { this.index = index; indexDeclAss = new VarDeclareAssign <TIndex>(index, init); this.condition = condition; this.incr = incr; }
public Var <T> Declare <T>(string name, Value <T> val) { var var = new Var <T>(name); var declAss = new VarDeclareAssign <T>(var, val); Append(declAss); return(var); }