Exemple #1
0
		/// <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);
			}
		}
Exemple #2
0
 /// <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);
         }
     }
 }
Exemple #3
0
 /// <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);
 }
Exemple #4
0
		/// <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);			
		}