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

            foreach (var child in node)
            {
                clone.Add(child.Accept(this));
            }
            return(clone);
        }
Esempio n. 2
0
 public virtual T Visit(Compiler.C.Data.Call node)
 {
     return(Visit((Compiler.C.Data.Node)node));
 }