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

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