public override Generator.Translation.Data.Node Visit(Generator.Translation.Data.ChildrenStructure node)
        {
            var clone = new Generator.Translation.Data.ChildrenStructure()
            {
                Name = node.Name, IsPlaceholder = node.IsPlaceholder
            };

            foreach (var child in node)
            {
                clone.Add(child.Accept(this));
            }
            return(clone);
        }
Example #2
0
 public virtual T Visit(Generator.Translation.Data.ChildrenStructure node)
 {
     return(Visit((Generator.Translation.Data.Node)node));
 }