public override Compiler.AST.Data.Node Visit(Compiler.AST.Data.Function node)
        {
            var clone = new Compiler.AST.Data.Function()
            {
                Name = node.Name, IsPlaceholder = node.IsPlaceholder
            };

            foreach (var child in node)
            {
                clone.Add(child.Accept(this));
            }
            return(clone);
        }
Ejemplo n.º 2
0
 public virtual T Visit(Compiler.AST.Data.Function node)
 {
     return(Visit((Compiler.AST.Data.Node)node));
 }