Пример #1
0
 public void Visit(ClassDeclsNode n)
 {
     PrintDOTIDLabel(n);
     PrintDOTParentChild(n);
     foreach (var child in n.GetChildren())
     {
         child.Accept(this);
     }
 }
Пример #2
0
        public void Visit(ClassDeclsNode n)
        {
            var children = n.GetChildren();

            foreach (var child in children)
            {
                child.Accept(this);
            }
        }
Пример #3
0
        public void Visit(ClassDeclsNode n)
        {
            var children = n.GetChildren().Cast <ClassDeclNode>();

            foreach (var child in children)
            {
                child.Table = new ClassSymbolTable();
                child.Accept(this);

                GlobalSymbolTable.AddClassSymbolTable(child.Table);
            }
        }