public override Compiler.Translation.SymbolTable.Data.Node Visit(Compiler.Translation.SymbolTable.Data.IntType node) { var clone = new Compiler.Translation.SymbolTable.Data.IntType() { Name = node.Name, IsPlaceholder = node.IsPlaceholder }; foreach (var child in node) { clone.Add(child.Accept(this)); } return(clone); }
public virtual T Visit(Compiler.Translation.SymbolTable.Data.IntType node) { return(Visit((Compiler.Translation.SymbolTable.Data.Node)node)); }