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