Ejemplo n.º 1
0
 /// <summary>
 /// When match a clean version context adds a <see cref="StepCleanVersion"/>.
 /// </summary>
 /// <param name="context">The context<see cref="UserAgentTreeWalkerParser.MatcherCleanVersionContext"/>.</param>
 /// <returns>null.</returns>
 public override object VisitMatcherCleanVersion([NotNull] UserAgentTreeWalkerParser.MatcherCleanVersionContext context)
 {
     this.Visit(context.matcher());
     this.FromHereItCannotBeInHashMapAnymore();
     this.Add(new StepCleanVersion());
     return(null); // Void
 }
	/// <summary>
	/// Enter a parse tree produced by the <c>matcherCleanVersion</c>
	/// labeled alternative in <see cref="UserAgentTreeWalkerParser.matcher"/>.
	/// <para>The default implementation does nothing.</para>
	/// </summary>
	/// <param name="context">The parse tree.</param>
	public virtual void EnterMatcherCleanVersion([NotNull] UserAgentTreeWalkerParser.MatcherCleanVersionContext context) { }
 /// <summary>
 /// Visit a parse tree produced by the <c>matcherCleanVersion</c>
 /// labeled alternative in <see cref="UserAgentTreeWalkerParser.matcher"/>.
 /// <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 VisitMatcherCleanVersion([NotNull] UserAgentTreeWalkerParser.MatcherCleanVersionContext context)
 {
     return(VisitChildren(context));
 }