/// <summary> /// When a product version with commas is found. /// </summary> /// <param name="context">The context node.</param> public override void EnterProductVersionWithCommas([NotNull] UserAgentParser.ProductVersionWithCommasContext context) { this.EnterProductVersion(context); }
/// <summary> /// When visiting a product name with a version that contains commas node finds the children by name appling the parsing rule for the context. /// </summary> /// <param name="context">The context of the current node <see cref="UserAgentParser.ProductVersionWithCommasContext"/>.</param> /// <returns>The found children as <see cref="IEnumerator{IParseTree}"/>.</returns> public override IEnumerator <IParseTree> VisitProductVersionWithCommas([NotNull] UserAgentParser.ProductVersionWithCommasContext context) { return(this.GetChildrenByName(context)); }
/// <summary> /// Visit a parse tree produced by <see cref="UserAgentParser.productVersionWithCommas"/>. /// <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 VisitProductVersionWithCommas([NotNull] UserAgentParser.ProductVersionWithCommasContext context) { return(VisitChildren(context)); }
/// <summary> /// Exit a parse tree produced by <see cref="UserAgentParser.productVersionWithCommas"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitProductVersionWithCommas([NotNull] UserAgentParser.ProductVersionWithCommasContext context) { }