public AbsynFor(AbsynAssignment init, Expression condition, AbsynAssignment iteration, List <AbsynStatement> body) { this.Initialization = init; this.Condition = condition; this.Iteration = iteration; this.Body = body; }
public void VisitAssignment(AbsynAssignment a) { writer.Indent(); a.Dst.Accept(this); writer.Write(" = "); a.Src.Accept(this); writer.Terminate(";"); }
public AbsynAssignment EmitAssign(Expression dst, Expression src) { var ass = new AbsynAssignment(dst, src); stms.Add(ass); return ass; }
public void VisitAssignment(AbsynAssignment ass) { stms.Add(ass); }