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; }
public void EnterNumericfunctionref(BASICParser.NumericfunctionrefContext context) { }
/// <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) { }