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