Esempio n. 1
0
 /// <summary>
 /// When visit a next step adds a <see cref="StepNext"/>.
 /// </summary>
 /// <param name="context">The context<see cref="UserAgentTreeWalkerParser.StepNextContext"/>.</param>
 /// <returns>null.</returns>
 public override object VisitStepNext([NotNull] UserAgentTreeWalkerParser.StepNextContext context)
 {
     this.FromHereItCannotBeInHashMapAnymore();
     this.Add(new StepNext());
     this.VisitNext(context.nextStep);
     return(null); // Void
 }
	/// <summary>
	/// Exit a parse tree produced by the <c>stepNext</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 ExitStepNext([NotNull] UserAgentTreeWalkerParser.StepNextContext context) { }
 /// <summary>
 /// Visit a parse tree produced by the <c>stepNext</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 VisitStepNext([NotNull] UserAgentTreeWalkerParser.StepNextContext context)
 {
     return(VisitChildren(context));
 }