Location:
SHGFMLEX.H
Link against: sheng.lib
class CShgFormulaTextLexer : public CBase;
Breaks down a formula stored as text into formula tokens.
CBase
- Base class for all classes to be instantiated on the heap
CShgFormulaTextLexer
- Breaks down a formula stored as text into formula tokens
Defined in CShgFormulaTextLexer
:
GetNextTokenL()
, LexCellOrRange()
, NewL()
, Offset()
, Start()
, Token()
, UnGetToken()
, ~CShgFormulaTextLexer()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CShgFormulaTextLexer *NewL(const CShgNameSet *aNameSet, const CShgWorkBook *aWorkBook, const CShgFormulaViewer
*aFormulaViewer);
Allocates and constructs a formula lexer.
|
|
IMPORT_C void Start(const TDesC &aDes, const TCellRef &aCurrentCell);
Initialises the lexer with a specified formula string.
|
IMPORT_C TBool GetNextTokenL();
Advances to the next token.
|
IMPORT_C const SLexToken &Token() const;
Gets the current token.
|
IMPORT_C void UnGetToken(const SLexToken &aToken);
Sets the current token type to ETokDmEOL.
|
IMPORT_C TInt Offset() const;
Gets the offset of the next character position from the start of the string.
|
IMPORT_C TBool LexCellOrRange();
Tests if a cell or range was lexed.
|