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); }
public virtual T Visit(Generator.Translation.Data.Rules node) { return(Visit((Generator.Translation.Data.Node)node)); }