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