protected override void AddParsedFunction(TCellFunctionData Func, byte ArgCount) { ptg FmlaPtg; if (Func.MinArgCount != Func.MaxArgCount || Func.FutureInXls) { FmlaPtg = GetRealPtg(ptg.FuncVar, Func.ReturnType); } else { FmlaPtg = GetRealPtg(ptg.Func, Func.ReturnType); } TBaseParsedToken FmlaToken = TParsedTokenListBuilder.GetParsedFormula(FmlaPtg, Func, ArgCount); Push(FmlaToken); }
protected static void AddParsedFormula(TParsedTokenListBuilder TokenBuilder, ptg FmlaPtg, TCellFunctionData Func, byte ArgCount) { TBaseParsedToken FmlaToken = TParsedTokenListBuilder.GetParsedFormula(FmlaPtg, Func, ArgCount); Push(TokenBuilder, FmlaToken); //Always push unsupported. }