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