Exemplo n.º 1
0
 /// <summary>
 /// When visit 2 next step adds a <see cref="StepNextN"/> with N = 2.
 /// </summary>
 /// <param name="ctx">The ctx<see cref="UserAgentTreeWalkerParser.StepNext2Context"/>.</param>
 /// <returns>null.</returns>
 public override object VisitStepNext2(UserAgentTreeWalkerParser.StepNext2Context ctx)
 {
     return(this.DoStepNextN(ctx.nextStep, 2));
 }
	/// <summary>
	/// Exit a parse tree produced by the <c>stepNext2</c>
	/// labeled alternative in <see cref="UserAgentTreeWalkerParser.path"/>.
	/// <para>The default implementation does nothing.</para>
	/// </summary>
	/// <param name="context">The parse tree.</param>
	public virtual void ExitStepNext2([NotNull] UserAgentTreeWalkerParser.StepNext2Context context) { }
 /// <summary>
 /// Visit a parse tree produced by the <c>stepNext2</c>
 /// labeled alternative in <see cref="UserAgentTreeWalkerParser.path"/>.
 /// <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 VisitStepNext2([NotNull] UserAgentTreeWalkerParser.StepNext2Context context)
 {
     return(VisitChildren(context));
 }