LibreOffice Module formula (master) 1
|
#include <tokenarray.hxx>
Public Member Functions | |
FormulaTokenArrayPlainIterator (const FormulaTokenArray &rFTA) | |
void | Reset () |
sal_uInt16 | GetIndex () const |
FormulaToken * | First () |
void | Jump (sal_uInt16 nIndex) |
void | StepBack () |
FormulaToken * | Next () |
FormulaToken * | NextNoSpaces () |
FormulaToken * | GetNextName () |
FormulaToken * | GetNextReference () |
FormulaToken * | GetNextReferenceRPN () |
FormulaToken * | GetNextReferenceOrName () |
FormulaToken * | GetNextColRowName () |
FormulaToken * | PeekNext () |
FormulaToken * | PeekPrevNoSpaces () const |
FormulaToken * | PeekNextNoSpaces () const |
Only after Reset/First/Next/Last/Prev! More... | |
FormulaToken * | FirstRPN () |
Only after Reset/First/Next/Last/Prev! More... | |
FormulaToken * | NextRPN () |
FormulaToken * | LastRPN () |
FormulaToken * | PrevRPN () |
void | AfterRemoveToken (sal_uInt16 nOffset, sal_uInt16 nCount) |
Private Attributes | |
const FormulaTokenArray * | mpFTA |
sal_uInt16 | mnIndex |
Definition at line 599 of file tokenarray.hxx.
|
inline |
Definition at line 606 of file tokenarray.hxx.
References mnIndex.
void formula::FormulaTokenArrayPlainIterator::AfterRemoveToken | ( | sal_uInt16 | nOffset, |
sal_uInt16 | nCount | ||
) |
Definition at line 1888 of file token.cxx.
References formula::FormulaTokenArray::GetLen(), mnIndex, mpFTA, and nCount.
Referenced by formula::FormulaCompiler::Factor().
|
inline |
Definition at line 622 of file tokenarray.hxx.
Referenced by formula::FormulaCompiler::CreateStringFromTokenArray(), and formula::FormulaTokenArray::RewriteMissing().
|
inline |
Only after Reset/First/Next/Last/Prev!
Definition at line 650 of file tokenarray.hxx.
References mnIndex.
|
inline |
Definition at line 617 of file tokenarray.hxx.
References mnIndex.
Referenced by formula::FormulaCompiler::CreateStringFromTokenArray(), formula::FormulaCompiler::Factor(), formula::FormulaCompiler::GetToken(), formula::FormulaCompiler::IntersectionLine(), and formula::FormulaCompiler::PushTokenArray().
FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextColRowName | ( | ) |
Definition at line 1754 of file token.cxx.
References formula::FormulaTokenArray::GetArray(), GetLen(), mnIndex, mpFTA, ocColRowName, and t.
FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextName | ( | ) |
Definition at line 1651 of file token.cxx.
References formula::FormulaTokenArray::GetArray(), GetLen(), mnIndex, mpFTA, formula::svIndex, and t.
FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextReference | ( | ) |
Definition at line 1733 of file token.cxx.
References formula::FormulaTokenArray::GetArray(), GetLen(), mnIndex, mpFTA, formula::svDoubleRef, formula::svExternalDoubleRef, formula::svExternalSingleRef, formula::svSingleRef, and t.
FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextReferenceOrName | ( | ) |
Definition at line 1786 of file token.cxx.
References formula::FormulaTokenArray::GetArray(), GetLen(), mnIndex, mpFTA, formula::svDoubleRef, formula::svExternalDoubleRef, formula::svExternalName, formula::svExternalSingleRef, formula::svIndex, formula::svSingleRef, and t.
FormulaToken * formula::FormulaTokenArrayPlainIterator::GetNextReferenceRPN | ( | ) |
Definition at line 1765 of file token.cxx.
References formula::FormulaTokenArray::GetCode(), mnIndex, mpFTA, formula::svDoubleRef, formula::svExternalDoubleRef, formula::svExternalSingleRef, formula::svSingleRef, and t.
|
inline |
Definition at line 628 of file tokenarray.hxx.
References mnIndex, and nIndex.
Referenced by formula::FormulaCompiler::CreateStringFromTokenArray(), and formula::FormulaCompiler::PopTokenArray().
|
inline |
Definition at line 658 of file tokenarray.hxx.
References formula::FormulaTokenArray::GetCodeLen(), and mnIndex.
FormulaToken * formula::FormulaTokenArrayPlainIterator::Next | ( | void | ) |
Definition at line 1812 of file token.cxx.
References formula::FormulaTokenArray::GetArray(), GetLen(), mnIndex, and mpFTA.
Referenced by formula::FormulaCompiler::CreateStringFromToken(), formula::FormulaCompiler::GetToken(), and formula::FormulaTokenArray::RewriteMissing().
FormulaToken * formula::FormulaTokenArrayPlainIterator::NextNoSpaces | ( | ) |
Definition at line 1820 of file token.cxx.
References formula::FormulaTokenArray::GetArray(), GetLen(), formula::FormulaToken::GetOpCode(), isWhitespace(), mnIndex, and mpFTA.
FormulaToken * formula::FormulaTokenArrayPlainIterator::NextRPN | ( | ) |
Definition at line 1832 of file token.cxx.
References formula::FormulaTokenArray::GetCode(), mnIndex, and mpFTA.
FormulaToken * formula::FormulaTokenArrayPlainIterator::PeekNext | ( | ) |
Definition at line 1848 of file token.cxx.
References formula::FormulaTokenArray::GetArray(), GetLen(), mnIndex, and mpFTA.
Referenced by formula::FormulaCompiler::CreateStringFromToken().
FormulaToken * formula::FormulaTokenArrayPlainIterator::PeekNextNoSpaces | ( | ) | const |
Only after Reset/First/Next/Last/Prev!
Definition at line 1856 of file token.cxx.
References formula::FormulaTokenArray::GetArray(), GetLen(), formula::FormulaToken::GetOpCode(), isWhitespace(), mnIndex, and mpFTA.
Referenced by formula::FormulaCompiler::CreateStringFromToken(), formula::FormulaCompiler::NextToken(), and formula::FormulaTokenArray::RewriteMissing().
FormulaToken * formula::FormulaTokenArrayPlainIterator::PeekPrevNoSpaces | ( | ) | const |
Definition at line 1872 of file token.cxx.
References formula::FormulaTokenArray::GetArray(), formula::FormulaToken::GetOpCode(), isWhitespace(), mnIndex, and mpFTA.
Referenced by formula::FormulaCompiler::CreateStringFromToken(), formula::FormulaCompiler::NextToken(), and formula::FormulaTokenArray::RewriteMissing().
FormulaToken * formula::FormulaTokenArrayPlainIterator::PrevRPN | ( | ) |
Definition at line 1840 of file token.cxx.
References formula::FormulaTokenArray::GetCode(), mnIndex, and mpFTA.
|
inline |
Definition at line 612 of file tokenarray.hxx.
References mnIndex.
Referenced by formula::FormulaCompiler::CompileTokenArray().
|
inline |
Definition at line 633 of file tokenarray.hxx.
References mnIndex.
Referenced by formula::FormulaCompiler::GetToken().
|
private |
Definition at line 603 of file tokenarray.hxx.
Referenced by AfterRemoveToken(), GetNextColRowName(), GetNextName(), GetNextReference(), GetNextReferenceOrName(), GetNextReferenceRPN(), Next(), NextNoSpaces(), NextRPN(), PeekNext(), PeekNextNoSpaces(), PeekPrevNoSpaces(), and PrevRPN().
|
private |
Definition at line 602 of file tokenarray.hxx.
Referenced by AfterRemoveToken(), GetNextColRowName(), GetNextName(), GetNextReference(), GetNextReferenceOrName(), GetNextReferenceRPN(), Next(), NextNoSpaces(), NextRPN(), PeekNext(), PeekNextNoSpaces(), PeekPrevNoSpaces(), and PrevRPN().