public override void Write(TextWriter writer) { fn.Write(writer); writer.Write("("); var sep = ""; foreach (var arg in args) { writer.Write(sep); arg.Write(writer); sep = ","; } foreach (var arg in keywords) { writer.Write(sep); arg.Write(writer); sep = ","; } if (stargs != null) { writer.Write(sep); writer.Write("*"); stargs.Write(writer); sep = ","; } if (kwargs != null) { writer.Write(sep); writer.Write("**"); kwargs.Write(writer); } writer.Write(")"); }
public override void Write(TextWriter writer) { writer.Write("("); l.Write(writer); writer.Write(" {0} ", base.OpToString(op)); r.Write(writer); writer.Write(")"); }
public override void Write(TextWriter writer) { writer.Write("{"); Projection.Write(writer); writer.Write(" "); Collection.Write(writer); writer.Write("}"); }
public override void Write(TextWriter writer) { array.Write(writer); writer.Write("["); foreach (var slice in subs) { slice.Write(writer); } writer.Write("]"); }
public override void Write(TextWriter writer) { writer.Write("if"); writer.Write(" "); test.Write(writer); if (next != null) { writer.Write(" "); next.Write(writer); } }
public override void Write(TextWriter writer) { Dst.Write(writer); if (Annotation != null) { writer.Write(": "); this.Annotation.Write(writer); } writer.Write(base.OpToString(op)); Src.Write(writer); }
public override void Write(TextWriter writer) { this.Consequent.Write(writer); writer.Write(" "); writer.Write("if"); writer.Write(" "); Condition.Write(writer); writer.Write(" "); writer.Write("else"); writer.Write(" "); Alternative.Write(writer); }
public override void Write(TextWriter writer) { writer.Write("for"); writer.Write(" "); variable.Write(writer); writer.Write(" "); writer.Write("in"); writer.Write(" "); collection.Write(writer); if (this.next != null) { writer.Write(" "); this.next.Write(writer); } }
public virtual void Write(TextWriter writer) { if (name != null) { name.Write(writer); var compFor = defval as CompFor; if (compFor != null) { writer.Write(" "); compFor.Write(writer); return; } writer.Write("="); } if (defval != null) { defval.Write(writer); } }
public override void Write(TextWriter writer) { if (lower == null && step == null && upper == null) { writer.Write("::"); } else if (lower != null) { lower.Write(writer); if (step != null) { writer.Write(':'); step.Write(writer); writer.Write(':'); if (upper != null) { writer.Write(':'); upper.Write(writer); } } } }
public override void Write(TextWriter writer) { writer.Write("from"); writer.Write(" "); Expression.Write(writer); }
public override void Write(TextWriter writer) { exp.Write(writer); }
public override void Write(TextWriter w) { Expression.Write(w); w.Write(".{0}", FieldName); }
public override void Write(TextWriter writer) { writer.Write(OpToString(op)); e.Write(writer); }