21#define TOKEN_CACHE_SIZE 8
99 std::vector<std::unique_ptr<ScInterpreterContext>>
maPool;
ScInterpreterContextPool & rPool
ScInterpreterContext * GetInterpreterContext() const
ScInterpreterContextGetterGuard(const ScDocument &rDoc, SvNumberFormatter *pFormatter)
~ScInterpreterContextGetterGuard()
void Init(size_t nNumThreads, const ScDocument &rDoc, SvNumberFormatter *pFormatter)
ScInterpreterContextPool(bool bThreaded)
static ScInterpreterContextPool aNonThreadedInterpreterPool
static ScInterpreterContextPool aThreadedInterpreterPool
std::vector< std::unique_ptr< ScInterpreterContext > > maPool
ScInterpreterContext * GetInterpreterContext() const
static void ClearLookupCaches(const ScDocument *pDoc)
ScInterpreterContext * GetInterpreterContextForThreadIdx(size_t nThreadIdx) const
~ScInterpreterContextPool()
ScInterpreterContext * GetInterpreterContextForThreadIdx(size_t nThreadIdx) const
ScInterpreterContextPool & rPool
~ScThreadedInterpreterContextGetterGuard()
ScThreadedInterpreterContextGetterGuard(size_t nNumThreads, const ScDocument &rDoc, SvNumberFormatter *pFormatter)
ScInterpreterContext()=delete
void SetDocAndFormatter(const ScDocument &rDoc, SvNumberFormatter *pFormatter)
std::unique_ptr< ScLookupCacheMap > mxScLookupCache
void ClearLookupCache(const ScDocument *pDoc)
std::vector< formula::FormulaToken * > maTokens
SvNumberFormatter * GetFormatTable() const
SvNumFormatType GetNumberFormatType(sal_uInt32 nFIndex) const
std::vector< sal_uInt8 > maConditions
std::vector< DelayedSetNumberFormat > maDelayedSetNumberFormat
ScInterpreter * pInterpreter
NFIndexAndFmtType maNFTypeCache
SvNumberFormatter * mpFormatter