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

            foreach (var child in node)
            {
                clone.Add(child.Accept(this));
            }
            return(clone);
        }
示例#2
0
 public virtual T Visit(Compiler.C.Data.CompoundFormalParameter node)
 {
     return(Visit((Compiler.C.Data.Node)node));
 }