public void Visit(ClassDeclsNode n) { PrintDOTIDLabel(n); PrintDOTParentChild(n); foreach (var child in n.GetChildren()) { child.Accept(this); } }
public void Visit(ClassDeclsNode n) { var children = n.GetChildren(); foreach (var child in children) { child.Accept(this); } }
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); } }