public void Visit(SpecialName node)
 {
     Console.Write("<" + node.ClassName() + ">: ");
     Console.ForegroundColor = ConsoleColor.Yellow;
     Console.WriteLine(node.SpecialType);
     Console.ResetColor();
 }
예제 #2
0
 public void VisitNode(SpecialName node)
 {
     Console.Write("<" + node.ClassName() + ">: ");
     Console.Write(node.SpecialType);
 }
예제 #3
0
 public void VisitNode(SpecialName node)
 {
     Console.Write("<" + node.Name + ">: ");
     Console.WriteLine(node.NodeType);
 }