/// <summary>Makes the <c>IGoldVisitor</c> visit the children of this /// <c>Reduction</c>.</summary> /// <example>See the GoldTest sample project.</example> public void ChildrenAccept(IGoldVisitor p_visitor) { foreach (Token token in m_tokens) { if (token.Kind == SymbolType.NonTerminal) (token.Data as Reduction).Accept(p_visitor); } }
/// <summary>Makes the <c>IGoldVisitor</c> visit the children of this /// <c>Reduction</c>.</summary> /// <example>See the GoldTest sample project.</example> public void ChildrenAccept(IGoldVisitor p_visitor) { foreach (Token token in m_tokens) { if (token.Kind == SymbolType.NonTerminal) { (token.Data as Reduction).Accept(p_visitor); } } }
/// <summary>Makes the <c>IGoldVisitor</c> visit this <c>Reduction</c>.</summary> /// <example>See the GoldTest sample project.</example> public void Accept(IGoldVisitor p_visitor) { p_visitor.Visit(this); }