#include <SHGFMLEX.H>
Link against:
sheng.lib
This item is not part of the S60 5th Edition SDK
Class CShgFormulaTextLexer
Interface status: |
deprecated |
|
class CShgFormulaTextLexer : public CBase;
Description
Breaks down a formula stored as text into formula tokens.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CShgFormulaTextLexer
- Breaks down a formula stored as text into formula tokens.
Members
Defined in CShgFormulaTextLexer
:
Inherited from CBase
:
Construction and destruction
Interface status: |
deprecated |
Inherited from: CShgFormulaTextLexer |
IMPORT_C virtual ~CShgFormulaTextLexer();
Description
Destructor.
NewL(const CShgNameSet *,const CShgWorkBook *,const CShgFormulaViewer *)
Interface status: |
deprecated |
Inherited from: CShgFormulaTextLexer |
IMPORT_C static CShgFormulaTextLexer* NewL(const CShgNameSet *aNameSet, const CShgWorkBook *aWorkBook, const CShgFormulaViewer
*aFormulaViewer);
Description
Allocates and constructs a formula lexer.
Parameters
Return value
Start(const TDesC &,const TCellRef &)
Interface status: |
deprecated |
Inherited from: CShgFormulaTextLexer |
IMPORT_C void Start(const TDesC &aDes, const TCellRef &aCurrentCell);
Description
Initialises the lexer with a specified formula string.
Parameters
const TDesC16 &aDes |
Formula string to lex
|
const TCellRef &aCurrentCell |
Position to use to resolve relative cell references
|
|
Interface status: |
deprecated |
Inherited from: CShgFormulaTextLexer |
IMPORT_C TBool GetNextTokenL();
Description
Advances to the next token.
Return value
TBool
|
True if the lexer has found a legal token. False if no legal token was found or the end of the string was reached
|
|
Interface status: |
deprecated |
Inherited from: CShgFormulaTextLexer |
IMPORT_C const SLexToken& Token() const;
Description
Gets the current token.
Return value
UnGetToken(const SLexToken &)
Interface status: |
deprecated |
Inherited from: CShgFormulaTextLexer |
IMPORT_C void UnGetToken(const SLexToken &aToken);
Description
Sets the current token type to ETokDmEOL.
Parameters
const SLexToken &aToken |
Specifies the type to replace the current token type
|
|
Interface status: |
deprecated |
Inherited from: CShgFormulaTextLexer |
IMPORT_C TInt Offset() const;
Description
Gets the offset of the next character position from the start of the string.
Return value
Interface status: |
deprecated |
Inherited from: CShgFormulaTextLexer |
IMPORT_C TBool LexCellOrRange();
Description
Tests if a cell or range was lexed.
Return value
TBool
|
True if a range was lexed, false otherwise
|
|