public override dynamic VisitANumber([NotNull] FuzzyParser.ANumberContext context) { return(double.Parse(context.NUMBER().GetText())); }
/// <summary> /// Visit a parse tree produced by the <c>ANumber</c> /// labeled alternative in <see cref="FuzzyParser.arithmetic_expr"/>. /// <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 VisitANumber([NotNull] FuzzyParser.ANumberContext context) { return(VisitChildren(context)); }