public override Compiler.AST.Data.Node Visit(Compiler.AST.Data.EmptyReturn node) { var clone = new Compiler.AST.Data.EmptyReturn() { 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.EmptyReturn node) { return(Visit((Compiler.AST.Data.Node)node)); }