LibreOffice Module formula (master) 1
|
#include <tokenarray.hxx>
Public Types | |
enum | ReplaceMode { CODE_ONLY , CODE_AND_RPN } |
Public Member Functions | |
FormulaToken * | ReplaceToken (sal_uInt16 nOffset, FormulaToken *, ReplaceMode eMode) |
Also used by the compiler. More... | |
sal_uInt16 | RemoveToken (sal_uInt16 nOffset, sal_uInt16 nCount) |
Remove a sequence of tokens from pCode array, and pRPN array if the tokens are referenced there. More... | |
FormulaTokenArray () | |
FormulaTokenArray (const FormulaTokenArray &) | |
Assignment with incrementing references of FormulaToken entries (not copied!) More... | |
FormulaTokenArray (FormulaTokenArray &&) | |
virtual | ~FormulaTokenArray () |
virtual void | Clear () |
void | Finalize () |
The array has its final used size and no more token can be added. More... | |
void | SetFromRangeName (bool b) |
bool | IsFromRangeName () const |
void | SetShareable (bool b) |
bool | IsShareable () const |
Check if this token array is shareable between multiple adjacent formula cells. More... | |
void | DelRPN () |
FormulaToken * | FirstToken () const |
FormulaToken * | TokenAt (sal_uInt16 nIdx) const |
Return pCode[nIdx], or nullptr if nIdx is out of bounds. More... | |
FormulaToken * | PeekPrev (sal_uInt16 &nIdx) const |
Peek at nIdx-1 if not out of bounds, decrements nIdx if successful. Returns NULL if not. More... | |
OpCode | OpCodeBefore (sal_uInt16 nIdx) const |
Return the opcode at pCode[nIdx-1], ocNone if nIdx-1 is out of bounds. More... | |
FormulaToken * | FirstRPNToken () const |
FormulaToken * | LastRPNToken () const |
bool | HasReferences () const |
bool | HasExternalRef () const |
bool | HasOpCode (OpCode) const |
bool | HasOpCodeRPN (OpCode) const |
bool | HasNameOrColRowName () const |
Token of type svIndex or opcode ocColRowName. More... | |
bool | HasOpCodes (const unordered_opcode_set &rOpCodes) const |
Check if the token array contains any of specified opcode tokens. More... | |
void | CreateNewRPNArrayFromData (FormulaToken **pData, sal_uInt16 nSize) |
Assign pRPN to point to a newly created array filled with the data from pData. More... | |
FormulaToken ** | GetArray () const |
FormulaTokenArrayStandardRange | Tokens () const |
FormulaToken ** | GetCode () const |
FormulaTokenArrayStandardRange | RPNTokens () const |
FormulaTokenArrayReferencesRange | References () const |
sal_uInt16 | GetLen () const |
sal_uInt16 | GetCodeLen () const |
FormulaError | GetCodeError () const |
void | SetCodeError (FormulaError n) |
void | SetHyperLink (bool bVal) |
bool | IsHyperLink () const |
ScRecalcMode | GetRecalcMode () const |
void | SetCombinedBitsRecalcMode (ScRecalcMode nBits) |
ScRecalcMode | GetCombinedBitsRecalcMode () const |
void | SetMaskedRecalcMode (ScRecalcMode nBits) |
Exclusive bits already set in nMode are zero'ed, nBits may contain combined bits, but only one exclusive bit may be set! More... | |
void | AddRecalcMode (ScRecalcMode nBits) |
Bits aren't set directly but validated and handled according to priority if more than one exclusive bit was set. More... | |
void | ClearRecalcMode () |
void | SetExclusiveRecalcModeNormal () |
void | SetExclusiveRecalcModeAlways () |
void | SetRecalcModeForced () |
void | SetRecalcModeOnRefMove () |
bool | IsRecalcModeNormal () const |
bool | IsRecalcModeAlways () const |
bool | IsRecalcModeForced () const |
bool | IsRecalcModeOnRefMove () const |
bool | IsRecalcModeMustAfterImport () const |
Whether recalculation must happen after import, for example OOXML. More... | |
void | ClearRecalcModeMustAfterImport () |
OpCode | GetOuterFuncOpCode () const |
Get OpCode of the most outer function. More... | |
bool | HasMatrixDoubleRefOps () const |
Operators +,-,*,/,^,&,=,<>,<,>,<=,>= with DoubleRef in Formula? More... | |
virtual FormulaToken * | AddOpCode (OpCode e) |
virtual bool | AddFormulaToken (const css::sheet::FormulaToken &rToken, svl::SharedStringPool &rSPool, ExternalReferenceHelper *pExtRef) |
Adds the single token to array. More... | |
bool | Fill (const css::uno::Sequence< css::sheet::FormulaToken > &rSequence, svl::SharedStringPool &rSPool, ExternalReferenceHelper *pExtRef) |
fill the array with the tokens from the sequence. More... | |
virtual void | CheckToken (const FormulaToken &t) |
Do some checking based on the individual tokens. More... | |
void | CheckAllRPNTokens () |
Call CheckToken() for all RPN tokens. More... | |
FormulaToken * | AddToken (const FormulaToken &) |
Clones the token and then adds the clone to the pCode array. More... | |
FormulaToken * | AddString (const svl::SharedString &rStr) |
FormulaToken * | AddDouble (double fVal) |
void | AddExternal (const sal_Unicode *pStr) |
FormulaToken * | AddExternal (const OUString &rStr, OpCode eOp=ocExternal) |
Xcl import may play dirty tricks with OpCode!=ocExternal. More... | |
FormulaToken * | AddBad (const OUString &rStr) |
FormulaToken * | AddStringXML (const OUString &rStr) |
ocBad with OUString More... | |
virtual FormulaToken * | MergeArray () |
ocStringXML with OUString, temporary during import More... | |
FormulaTokenArray & | operator= (const FormulaTokenArray &) |
Assignment with incrementing references of FormulaToken entries (not copied!) More... | |
FormulaTokenArray & | operator= (FormulaTokenArray &&) |
bool | NeedsPodfRewrite (const MissingConventionODF &rConv) |
Determines if this formula needs any changes to convert it to something previous versions of OOo could consume (Plain Old Formula, pre-ODFF, or also ODFF) More... | |
bool | NeedsOoxmlRewrite () |
Determines if this formula needs any changes to convert it to OOXML. More... | |
FormulaTokenArray * | RewriteMissing (const MissingConvention &rConv) |
Rewrites to Plain Old Formula or OOXML, substituting missing parameters. More... | |
bool | MayReferenceFollow () |
Determines if this formula may be followed by a reference. More... | |
void | ReinternStrings (svl::SharedStringPool &rPool) |
Re-intern SharedString in case the SharedStringPool differs. More... | |
Protected Member Functions | |
void | Assign (const FormulaTokenArray &) |
void | Assign (sal_uInt16 nCode, FormulaToken **pTokens) |
Optimisation for efficiently creating StringXML placeholders. More... | |
void | Move (FormulaTokenArray &&) |
FormulaToken * | Add (FormulaToken *) |
Also used by the compiler. The token MUST had been allocated with new! More... | |
Protected Attributes | |
std::unique_ptr< FormulaToken *[]> | pCode |
FormulaToken ** | pRPN |
sal_uInt16 | nLen |
sal_uInt16 | nRPN |
FormulaError | nError |
ScRecalcMode | nMode |
bool | bHyperLink:1 |
bool | mbFromRangeName:1 |
bool | mbShareable:1 |
bool | mbFinalized:1 |
Definition at line 234 of file tokenarray.hxx.
Enumerator | |
---|---|
CODE_ONLY | replacement only in pCode |
CODE_AND_RPN | replacement in pCode and pRPN |
Definition at line 257 of file tokenarray.hxx.
formula::FormulaTokenArray::FormulaTokenArray | ( | ) |
Definition at line 588 of file token.cxx.
Referenced by RewriteMissing().
formula::FormulaTokenArray::FormulaTokenArray | ( | const FormulaTokenArray & | rArr | ) |
Assignment with incrementing references of FormulaToken entries (not copied!)
Definition at line 601 of file token.cxx.
References Assign().
formula::FormulaTokenArray::FormulaTokenArray | ( | FormulaTokenArray && | rArr | ) |
|
virtual |
|
protected |
Also used by the compiler. The token MUST had been allocated with new!
Definition at line 843 of file token.cxx.
References CheckToken(), FORMULA_MAXTOKENS, mbFinalized, MergeArray(), nLen, ocArrayClose, ocStop, pCode, and t.
Referenced by AddBad(), AddDouble(), AddExternal(), AddFormulaToken(), AddOpCode(), AddString(), AddStringXML(), AddToken(), and RewriteMissing().
FormulaToken * formula::FormulaTokenArray::AddBad | ( | const OUString & | rStr | ) |
Definition at line 909 of file token.cxx.
Referenced by AddFormulaToken().
FormulaToken * formula::FormulaTokenArray::AddDouble | ( | double | fVal | ) |
FormulaToken * formula::FormulaTokenArray::AddExternal | ( | const OUString & | rStr, |
OpCode | eOp = ocExternal |
||
) |
void formula::FormulaTokenArray::AddExternal | ( | const sal_Unicode * | pStr | ) |
|
virtual |
Adds the single token to array.
Derived classes must override it when they want to support derived classes from FormulaToken.
assuming equal values for the moment
Definition at line 397 of file token.cxx.
References Add(), AddBad(), AddDouble(), AddOpCode(), AddString(), AddStringXML(), svl::SharedStringPool::intern(), nValue, ocBad, ocDBArea, ocExternal, ocMacro, ocPush, ocSpaces, ocStringXML, ocTableRef, and ocWhitespace.
Referenced by Fill().
|
virtual |
Definition at line 1563 of file token.cxx.
References Add(), FORMULA_MAXJUMPCOUNT, ocArrayClose, ocArrayColSep, ocArrayOpen, ocArrayRowSep, ocChoose, ocClose, ocIf, ocIfError, ocIfNA, ocOpen, ocSep, formula::svSep, and formula::Unknown.
Referenced by AddFormulaToken(), and Fill().
void formula::FormulaTokenArray::AddRecalcMode | ( | ScRecalcMode | nBits | ) |
Bits aren't set directly but validated and handled according to priority if more than one exclusive bit was set.
Definition at line 920 of file token.cxx.
References EMask, nMode, SetCombinedBitsRecalcMode(), and SetMaskedRecalcMode().
Referenced by formula::FormulaCompiler::Factor(), and RewriteMissing().
FormulaToken * formula::FormulaTokenArray::AddString | ( | const svl::SharedString & | rStr | ) |
FormulaToken * formula::FormulaTokenArray::AddStringXML | ( | const OUString & | rStr | ) |
ocBad with OUString
Definition at line 914 of file token.cxx.
References Add(), and ocStringXML.
Referenced by AddFormulaToken().
FormulaToken * formula::FormulaTokenArray::AddToken | ( | const FormulaToken & | r | ) |
Clones the token and then adds the clone to the pCode array.
For just new'ed tokens use Add() instead of cloning it again. Use this AddToken() when adding a token from another origin.
Definition at line 751 of file token.cxx.
References Add(), and formula::FormulaToken::Clone().
Referenced by RewriteMissing().
|
protected |
Definition at line 628 of file token.cxx.
References bHyperLink, i, mbFinalized, mbFromRangeName, mbShareable, nError, nLen, nMode, nRPN, pCode, and pRPN.
Referenced by FormulaTokenArray(), and operator=().
|
protected |
Optimisation for efficiently creating StringXML placeholders.
Definition at line 677 of file token.cxx.
References i, mbFinalized, nLen, ocStringXML, pCode, and t.
void formula::FormulaTokenArray::CheckAllRPNTokens | ( | ) |
Call CheckToken() for all RPN tokens.
Definition at line 739 of file token.cxx.
References CheckToken(), i, nRPN, p, and pRPN.
Referenced by formula::FormulaCompiler::CompileTokenArray().
|
virtual |
Do some checking based on the individual tokens.
For now, we use this only to check whether we can vectorize the token array.
Definition at line 734 of file token.cxx.
Referenced by Add(), CheckAllRPNTokens(), and ReplaceToken().
|
virtual |
Definition at line 712 of file token.cxx.
References bHyperLink, ClearRecalcMode(), DelRPN(), i, mbFinalized, mbFromRangeName, mbShareable, nError, nLen, NONE, nRPN, p, pCode, and pRPN.
Referenced by operator=(), and ~FormulaTokenArray().
|
inline |
Definition at line 412 of file tokenarray.hxx.
References NORMAL.
Referenced by Clear(), and formula::FormulaCompiler::CompileTokenArray().
|
inline |
Definition at line 433 of file tokenarray.hxx.
|
inline |
Assign pRPN to point to a newly created array filled with the data from pData.
Definition at line 361 of file tokenarray.hxx.
References pData.
Referenced by formula::FormulaCompiler::CompileTokenArray().
void formula::FormulaTokenArray::DelRPN | ( | ) |
bool formula::FormulaTokenArray::Fill | ( | const css::uno::Sequence< css::sheet::FormulaToken > & | rSequence, |
svl::SharedStringPool & | rSPool, | ||
ExternalReferenceHelper * | pExtRef | ||
) |
fill the array with the tokens from the sequence.
It calls AddFormulaToken for each token in the list.
_aSequence | the token to add |
Definition at line 459 of file token.cxx.
References AddFormulaToken(), AddOpCode(), nCount, nPos, and ocErrName.
void formula::FormulaTokenArray::Finalize | ( | ) |
The array has its final used size and no more token can be added.
Definition at line 616 of file token.cxx.
References mbFinalized, nLen, and pCode.
FormulaToken * formula::FormulaTokenArray::FirstRPNToken | ( | ) | const |
FormulaToken * formula::FormulaTokenArray::FirstToken | ( | ) | const |
|
inline |
Definition at line 368 of file tokenarray.hxx.
Referenced by formula::FormulaTokenArrayPlainIterator::GetNextColRowName(), formula::FormulaTokenArrayPlainIterator::GetNextName(), formula::FormulaTokenArrayPlainIterator::GetNextReference(), formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName(), formula::FormulaTokenArrayPlainIterator::Next(), formula::FormulaTokenArrayPlainIterator::NextNoSpaces(), formula::FormulaTokenArrayPlainIterator::PeekNext(), formula::FormulaTokenArrayPlainIterator::PeekNextNoSpaces(), and formula::FormulaTokenArrayPlainIterator::PeekPrevNoSpaces().
|
inline |
|
inline |
Definition at line 389 of file tokenarray.hxx.
Referenced by formula::FormulaCompiler::CompileTokenArray(), formula::FormulaCompiler::Factor(), formula::FormulaCompiler::GetToken(), and formula::FormulaCompiler::PutCode().
|
inline |
Definition at line 388 of file tokenarray.hxx.
Referenced by formula::FormulaTokenArrayPlainIterator::LastRPN().
|
inline |
Definition at line 398 of file tokenarray.hxx.
|
inline |
Definition at line 387 of file tokenarray.hxx.
Referenced by formula::FormulaTokenArrayPlainIterator::AfterRemoveToken(), formula::FormulaCompiler::CreateStringFromTokenArray(), and RewriteMissing().
|
inline |
Get OpCode of the most outer function.
Definition at line 517 of file tokenarray.hxx.
References formula::FormulaToken::GetOpCode(), nRPN, ocNone, and pRPN.
|
inline |
Definition at line 394 of file tokenarray.hxx.
Referenced by formula::FormulaCompiler::PopTokenArray(), and RewriteMissing().
bool formula::FormulaTokenArray::HasExternalRef | ( | ) | const |
bool formula::FormulaTokenArray::HasMatrixDoubleRefOps | ( | ) | const |
Operators +,-,*,/,^,&,=,<>,<,>,<=,>= with DoubleRef in Formula?
Definition at line 948 of file token.cxx.
References formula::FormulaToken::Delete(), formula::FormulaCompiler::IsOpCodeJumpCommand(), formula::lcl_IsReference(), nRPN, ocAdd, ocAmpersand, ocDiv, ocEqual, ocGreater, ocGreaterEqual, ocLess, ocLessEqual, ocMul, ocNotEqual, ocPow, ocPower, ocPush, ocSub, pRPN, RPNTokens(), SAL_WARN, formula::svDoubleRef, and t.
bool formula::FormulaTokenArray::HasNameOrColRowName | ( | ) | const |
Token of type svIndex or opcode ocColRowName.
Definition at line 567 of file token.cxx.
References i, ocColRowName, formula::svIndex, and Tokens().
bool formula::FormulaTokenArray::HasOpCode | ( | OpCode | eOp | ) | const |
bool formula::FormulaTokenArray::HasOpCodeRPN | ( | OpCode | eOp | ) | const |
Definition at line 557 of file token.cxx.
References i, and RPNTokens().
bool formula::FormulaTokenArray::HasOpCodes | ( | const unordered_opcode_set & | rOpCodes | ) | const |
bool formula::FormulaTokenArray::HasReferences | ( | ) | const |
Definition at line 520 of file token.cxx.
References i, RPNTokens(), and Tokens().
|
inline |
Definition at line 304 of file tokenarray.hxx.
|
inline |
Definition at line 392 of file tokenarray.hxx.
Referenced by formula::FormulaCompiler::PopTokenArray().
|
inline |
Definition at line 423 of file tokenarray.hxx.
References ALWAYS.
Referenced by formula::FormulaCompiler::PopTokenArray().
|
inline |
Definition at line 425 of file tokenarray.hxx.
References FORCED.
Referenced by formula::FormulaCompiler::CompileTokenArray(), and formula::FormulaCompiler::CreateStringFromTokenArray().
|
inline |
Whether recalculation must happen after import, for example OOXML.
Definition at line 431 of file tokenarray.hxx.
References EMask, and ONLOAD_ONCE.
|
inline |
Definition at line 421 of file tokenarray.hxx.
References NORMAL.
Referenced by formula::FormulaCompiler::PopTokenArray().
|
inline |
Definition at line 427 of file tokenarray.hxx.
References ONREFMOVE.
|
inline |
Check if this token array is shareable between multiple adjacent formula cells.
Certain tokens may not function correctly when shared.
Definition at line 314 of file tokenarray.hxx.
FormulaToken * formula::FormulaTokenArray::LastRPNToken | ( | ) | const |
bool formula::FormulaTokenArray::MayReferenceFollow | ( | ) |
Determines if this formula may be followed by a reference.
Definition at line 1540 of file token.cxx.
References i, isWhitespace(), nLen, pCode, SC_OPCODE_OPEN, SC_OPCODE_SEP, SC_OPCODE_START_BIN_OP, SC_OPCODE_START_UN_OP, SC_OPCODE_STOP_BIN_OP, and SC_OPCODE_STOP_UN_OP.
|
virtual |
|
protected |
Definition at line 659 of file token.cxx.
References bHyperLink, mbFinalized, mbFromRangeName, mbShareable, nError, nLen, nMode, nRPN, pCode, and pRPN.
Referenced by FormulaTokenArray(), and operator=().
bool formula::FormulaTokenArray::NeedsOoxmlRewrite | ( | ) |
Determines if this formula needs any changes to convert it to OOXML.
Definition at line 1367 of file token.cxx.
References i, formula::MissingConventionOOXML::isRewriteNeeded(), and Tokens().
Referenced by formula::FormulaCompiler::CreateStringFromTokenArray().
bool formula::FormulaTokenArray::NeedsPodfRewrite | ( | const MissingConventionODF & | rConv | ) |
Determines if this formula needs any changes to convert it to something previous versions of OOo could consume (Plain Old Formula, pre-ODFF, or also ODFF)
Definition at line 1357 of file token.cxx.
References i, formula::MissingConventionODF::isRewriteNeeded(), and Tokens().
Referenced by formula::FormulaCompiler::CreateStringFromTokenArray().
|
inline |
Return the opcode at pCode[nIdx-1], ocNone if nIdx-1 is out of bounds.
Definition at line 331 of file tokenarray.hxx.
References ocNone.
Referenced by formula::FormulaCompiler::GetToken().
FormulaTokenArray & formula::FormulaTokenArray::operator= | ( | const FormulaTokenArray & | rArr | ) |
Assignment with incrementing references of FormulaToken entries (not copied!)
FormulaTokenArray & formula::FormulaTokenArray::operator= | ( | FormulaTokenArray && | rArr | ) |
FormulaToken * formula::FormulaTokenArray::PeekPrev | ( | sal_uInt16 & | nIdx | ) | const |
|
inline |
Definition at line 382 of file tokenarray.hxx.
void formula::FormulaTokenArray::ReinternStrings | ( | svl::SharedStringPool & | rPool | ) |
Re-intern SharedString in case the SharedStringPool differs.
Definition at line 1599 of file token.cxx.
References i, svl::SharedStringPool::intern(), formula::svString, and Tokens().
sal_uInt16 formula::FormulaTokenArray::RemoveToken | ( | sal_uInt16 | nOffset, |
sal_uInt16 | nCount | ||
) |
Remove a sequence of tokens from pCode array, and pRPN array if the tokens are referenced there.
nLen and nRPN are adapted.
nOffset | Start offset into pCode. |
nCount | Count of tokens to remove. |
Definition at line 794 of file token.cxx.
References i, nCount, nLen, nRPN, p, pCode, pRPN, SAL_WARN, SAL_WARN_IF, and x.
Referenced by formula::FormulaCompiler::Factor().
FormulaToken * formula::FormulaTokenArray::ReplaceToken | ( | sal_uInt16 | nOffset, |
FormulaToken * | t, | ||
FormulaTokenArray::ReplaceMode | eMode | ||
) |
Also used by the compiler.
The token MUST had been allocated with new!
nOffset | Absolute offset in pCode of the token to be replaced. |
eMode | If CODE_ONLY only the token in pCode at nOffset is replaced. If CODE_AND_RPN the token in pCode at nOffset is replaced; if the original token was also referenced in the pRPN array then that reference is replaced with a reference to the new token as well. |
Definition at line 761 of file token.cxx.
References CheckToken(), CODE_AND_RPN, eMode, i, nLen, nRPN, p, pCode, pRPN, and t.
Referenced by formula::FormulaCompiler::IntersectionLine().
FormulaTokenArray * formula::FormulaTokenArray::RewriteMissing | ( | const MissingConvention & | rConv | ) |
Rewrites to Plain Old Formula or OOXML, substituting missing parameters.
The FormulaTokenArray* returned is new'ed.
Definition at line 1378 of file token.cxx.
References Add(), AddRecalcMode(), AddToken(), formula::FormulaTokenArrayPlainIterator::First(), formula::MissingConvention::FORMULA_MISSING_CONVENTION_OOXML, FormulaTokenArray(), formula::MissingConvention::getConvention(), GetLen(), formula::FormulaToken::GetOpCode(), GetRecalcMode(), i, formula::MissingConvention::isODFF(), formula::MissingConvention::isOOXML(), formula::MissingConvention::isPODF(), mnCurArg, formula::FormulaTokenArrayPlainIterator::Next(), ocAddress, ocCeil, ocCeil_Math, ocClose, ocDBCount, ocDBCount2, ocFloor, ocFloor_Math, ocHypGeomDist, ocHypGeomDist_MS, ocLogNormDist, ocLogNormDist_MS, ocMissing, ocNone, ocOpen, ocPush, ocSep, p, formula::FormulaTokenArrayPlainIterator::PeekNextNoSpaces(), formula::FormulaTokenArrayPlainIterator::PeekPrevNoSpaces(), SAL_WARN_IF, formula::svByte, and formula::svDouble.
Referenced by formula::FormulaCompiler::CreateStringFromTokenArray().
|
inline |
Definition at line 377 of file tokenarray.hxx.
Referenced by HasMatrixDoubleRefOps(), HasOpCodeRPN(), and HasReferences().
|
inline |
Definition at line 390 of file tokenarray.hxx.
References n.
Referenced by formula::FormulaCompiler::CompileTokenArray().
|
inline |
Definition at line 396 of file tokenarray.hxx.
Referenced by AddRecalcMode().
|
inline |
Definition at line 415 of file tokenarray.hxx.
References ALWAYS.
Referenced by formula::FormulaCompiler::Factor().
|
inline |
Definition at line 413 of file tokenarray.hxx.
References NORMAL.
|
inline |
Definition at line 303 of file tokenarray.hxx.
|
inline |
Definition at line 391 of file tokenarray.hxx.
Referenced by formula::FormulaCompiler::CompileTokenArray(), and formula::FormulaCompiler::Factor().
|
inline |
Exclusive bits already set in nMode are zero'ed, nBits may contain combined bits, but only one exclusive bit may be set!
Definition at line 404 of file tokenarray.hxx.
Referenced by AddRecalcMode().
|
inline |
Definition at line 417 of file tokenarray.hxx.
References FORCED.
Referenced by formula::FormulaCompiler::CompileTokenArray().
|
inline |
Definition at line 419 of file tokenarray.hxx.
References ONREFMOVE.
Referenced by formula::FormulaCompiler::Factor().
|
inline |
Definition at line 306 of file tokenarray.hxx.
|
inline |
Return pCode[nIdx], or nullptr if nIdx is out of bounds.
Definition at line 320 of file tokenarray.hxx.
Referenced by formula::FormulaCompiler::Factor().
|
inline |
Definition at line 370 of file tokenarray.hxx.
Referenced by formula::FormulaTokenArrayReferencesRange::begin(), formula::FormulaTokenArrayReferencesRange::end(), HasExternalRef(), HasNameOrColRowName(), HasOpCode(), HasOpCodes(), HasReferences(), NeedsOoxmlRewrite(), NeedsPodfRewrite(), and ReinternStrings().
|
protected |
Definition at line 243 of file tokenarray.hxx.
|
protected |
Definition at line 246 of file tokenarray.hxx.
Referenced by Add(), Assign(), Clear(), Finalize(), and Move().
|
protected |
Definition at line 244 of file tokenarray.hxx.
|
protected |
Definition at line 245 of file tokenarray.hxx.
|
protected |
Definition at line 241 of file tokenarray.hxx.
|
protected |
Definition at line 239 of file tokenarray.hxx.
Referenced by Add(), Assign(), Clear(), Finalize(), FirstToken(), MayReferenceFollow(), Move(), PeekPrev(), RemoveToken(), and ReplaceToken().
|
protected |
Definition at line 242 of file tokenarray.hxx.
Referenced by AddRecalcMode(), Assign(), and Move().
|
protected |
Definition at line 240 of file tokenarray.hxx.
Referenced by Assign(), CheckAllRPNTokens(), Clear(), DelRPN(), FirstRPNToken(), GetOuterFuncOpCode(), HasMatrixDoubleRefOps(), LastRPNToken(), Move(), RemoveToken(), and ReplaceToken().
|
protected |
Definition at line 237 of file tokenarray.hxx.
Referenced by Add(), Assign(), Clear(), Finalize(), FirstToken(), MayReferenceFollow(), Move(), PeekPrev(), RemoveToken(), and ReplaceToken().
|
protected |
Definition at line 238 of file tokenarray.hxx.
Referenced by Assign(), CheckAllRPNTokens(), Clear(), DelRPN(), FirstRPNToken(), GetOuterFuncOpCode(), HasMatrixDoubleRefOps(), LastRPNToken(), Move(), RemoveToken(), and ReplaceToken().