void IParsingTreeNodeVisitor.VisitGroup(IParsingTreeGroup group) { _rules.AddLast(group.Rule == null ? string.Empty : group.Rule.Name); foreach (var item in group.GetRuleChilds()) { item.Visit(this); } _rules.RemoveLast(); }
void IParsingTreeNodeVisitor.VisitGroup(IParsingTreeGroup group) { PrintNode(group); _i++; foreach (var item in group.GetRuleChilds()) { item.Visit(this); } _i--; }