Пример #1
0
        public void ExitNumericfunctionref(BASICParser.NumericfunctionrefContext context)
        {
            if (currentNumericDefinedFunction == null)
            {
                if (currentArgument == null)
                {
                    currentNumericFunctionRef = new NumericFunctionRef(currentNumericSuppliedFunction);
                }
                else
                {
                    currentNumericFunctionRef = new NumericFunctionRef(currentNumericSuppliedFunction, currentArgument);
                }
            }
            else
            {
                if (currentArgument == null)
                {
                    currentNumericFunctionRef = new NumericFunctionRef(currentNumericDefinedFunction);
                }
                else
                {
                    currentNumericFunctionRef = new NumericFunctionRef(currentNumericDefinedFunction, currentArgument);
                }
            }

            currentNumericDefinedFunction = null;
            currentArgument = null;

            primaryOp = PrimaryOptions.FN;
        }
Пример #2
0
 public void EnterNumericfunctionref(BASICParser.NumericfunctionrefContext context)
 {
 }
Пример #3
0
 /// <summary>
 /// Exit a parse tree produced by <see cref="BASICParser.numericfunctionref"/>.
 /// <para>The default implementation does nothing.</para>
 /// </summary>
 /// <param name="context">The parse tree.</param>
 public virtual void ExitNumericfunctionref([NotNull] BASICParser.NumericfunctionrefContext context)
 {
 }