/// <summary> /// When visit a path walk context visits next step. /// </summary> /// <param name="context">The context<see cref="UserAgentTreeWalkerParser.PathWalkContext"/>.</param> /// <returns>null.</returns> public override object VisitPathWalk([NotNull] UserAgentTreeWalkerParser.PathWalkContext context) { this.VisitNext(context.nextStep); return(null); // Void }
/// <summary> /// Exit a parse tree produced by the <c>pathWalk</c> /// labeled alternative in <see cref="UserAgentTreeWalkerParser.basePath"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitPathWalk([NotNull] UserAgentTreeWalkerParser.PathWalkContext context) { }
/// <summary> /// Visit a parse tree produced by the <c>pathWalk</c> /// labeled alternative in <see cref="UserAgentTreeWalkerParser.basePath"/>. /// <para> /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/> /// on <paramref name="context"/>. /// </para> /// </summary> /// <param name="context">The parse tree.</param> /// <return>The visitor result.</return> public virtual Result VisitPathWalk([NotNull] UserAgentTreeWalkerParser.PathWalkContext context) { return(VisitChildren(context)); }