Beispiel #1
0
 public override void PrintTree()
 {
     Console.WriteLine("");
     Console.WriteLine(String.Format("Statement [ {0} ]", Name));
     Console.Write("[ return ]");
     Console.WriteLine(" \\||/");
     ExTree.PrintTree(this.tree);
 }
Beispiel #2
0
 public override void PrintTree()
 {
     Console.WriteLine("");
     Console.WriteLine(String.Format("Statement ' {0} '", Name));
     Console.Write("[ = ]");
     Console.WriteLine("--left son: [ " + IdName + " ]");
     Console.WriteLine(" |");
     ExTree.PrintTree(this.tree);
 }
Beispiel #3
0
 public override void PrintTree()
 {
     Console.WriteLine("");
     Console.WriteLine(String.Format("Statement [ {0} ]", Name));
     Console.WriteLine("left son: { condition }--left son [null]");
     Console.WriteLine("               |");
     ExTree.PrintTree(this.tree);
     Console.WriteLine(" . . . ");
     Console.WriteLine("right son: { body }");
     Console.WriteLine(" \\||/");
     action.PrintTree();
 }
Beispiel #4
0
 public override void PrintTree()
 {
     Console.WriteLine("");
     Console.WriteLine(String.Format("Statement ' {0} '", Name));
     ExTree.PrintTree(this.tree);
 }