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

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