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);
 }
 public void VisitNode(SpecialName node)
 {
     Console.Write("<" + node.Name + ">: ");
     Console.WriteLine(node.NodeType);
 }