예제 #1
0
 /// <summary>
 /// Accept a <see cref="QueryNodeVisitor{T}"/> that walks a tree of <see cref="QueryNode"/>s.
 /// </summary>
 /// <typeparam name="T">Type that the visitor will return after visiting this token.</typeparam>
 /// <param name="visitor">An implementation of the visitor interface.</param>
 /// <returns>An object whose type is determined by the type parameter of the visitor.</returns>
 /// <exception cref="System.ArgumentNullException">Throws if the input visitor is null.</exception>
 public override T Accept <T>(QueryNodeVisitor <T> visitor)
 {
     ExceptionUtils.CheckArgumentNotNull(visitor, "visitor");
     return(visitor.Visit(this));
 }
예제 #2
0
 /// <summary>
 /// Accept a <see cref="QueryNodeVisitor{T}"/> that walk a tree of <see cref="QueryNode"/>s.
 /// </summary>
 /// <typeparam name="T">Type that the visitor will return after visiting this token.</typeparam>
 /// <param name="visitor">An implementation of the visitor interface.</param>
 /// <returns>An object whose type is determined by the type parameter of the visitor.</returns>
 /// <exception cref="System.ArgumentNullException">Throws if the input visitor is null.</exception>
 public override T Accept <T>(QueryNodeVisitor <T> visitor)
 {
     DebugUtils.CheckNoExternalCallers();
     ExceptionUtils.CheckArgumentNotNull(visitor, "visitor");
     return(visitor.Visit(this));
 }
예제 #3
0
파일: QueryNode.cs 프로젝트: tapika/swupd
 /// <summary>
 /// Accept a <see cref="QueryNodeVisitor{T}"/> that walks a tree of <see cref="QueryNode"/>s.
 /// </summary>
 /// <typeparam name="T">Type that the visitor will return after visiting this token.</typeparam>
 /// <param name="visitor">An implementation of the visitor interface.</param>
 /// <returns>An object whose type is determined by the type parameter of the visitor.</returns>
 public virtual T Accept <T>(QueryNodeVisitor <T> visitor)
 {
     DebugUtils.CheckNoExternalCallers();
     throw new NotImplementedException();
 }