Beispiel #1
0
 /// <summary>
 /// When visit a step back to full context adds a <see cref="StepBackToFull"/>.
 /// </summary>
 /// <param name="context">The context<see cref="UserAgentTreeWalkerParser.StepBackToFullContext"/>.</param>
 /// <returns>null.</returns>
 public override object VisitStepBackToFull([NotNull] UserAgentTreeWalkerParser.StepBackToFullContext context)
 {
     this.Add(new StepBackToFull());
     this.VisitNext(context.nextStep);
     return(null); // Void
 }
	/// <summary>
	/// Exit a parse tree produced by the <c>stepBackToFull</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 ExitStepBackToFull([NotNull] UserAgentTreeWalkerParser.StepBackToFullContext context) { }
 /// <summary>
 /// Visit a parse tree produced by the <c>stepBackToFull</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 VisitStepBackToFull([NotNull] UserAgentTreeWalkerParser.StepBackToFullContext context)
 {
     return(VisitChildren(context));
 }