示例#1
0
		public override void Dump(int indent)
		{
			writeLine(indent, "Index");
			Lhs.Dump(indent + 1);
			writeLine(indent, "with:");
			Index.Dump(indent + 1);
		}
示例#2
0
 public override void Dump(int indent)
 {
     writeLine(indent, "if:");
     Condition.Dump(indent + 1);
     writeLine(indent, "then:");
     TrueResult.Dump(indent + 1);
     writeLine(indent, "else:");
     FalseResult.Dump(indent + 1);
 }
示例#3
0
 public override void Dump(int indent)
 {
     writeLine(indent, "Call");
     Lhs.Dump(indent + 1);
     writeLine(indent, "with args:");
     foreach (var a in Arguments)
     {
         a.Dump(indent + 1);
     }
 }
示例#4
0
 public override void Dump(int indent)
 {
     writeLine(indent, "New ");
     ObjectType.Dump(indent + 1);
     writeLine(indent, "with args:");
     foreach (var a in Arguments)
     {
         a.Dump(indent + 1);
     }
 }
示例#5
0
 public override void Dump(int indent)
 {
     writeLine(indent, "(");
     Lhs.Dump(indent + 1);
     foreach (var t in Terms)
     {
         writeLine(indent, t.Op.ToString());
         t.Rhs.Dump(indent + 1);
     }
     writeLine(indent, ")");
 }
示例#6
0
 public override void Dump(int indent)
 {
     if (Lhs == null)
     {
         writeLine(indent, "Variable `{0}`", Name);
     }
     else
     {
         writeLine(indent, "Member `{0}` on:", Name);
         Lhs.Dump(indent + 1);
     }
 }
示例#7
0
 public override void Dump(int indent)
 {
     writeLine(indent, "postfix {0}", Op.ToString());
     Lhs.Dump(indent + 1);
 }
示例#8
0
 public override void Dump(int indent)
 {
     writeLine(indent, "parens");
     Inner.Dump(indent + 1);
 }