#include <skParser.h>
Inheritance diagram for skParser:

Public Member Functions | |
| skParser (const skString &code, const skString &location) | |
| constructor | |
| ~skParser () | |
| Destructor - destroys the temporary nodes and strings. | |
| skMethodDefNode * | parseMethod () |
| this method instructs the parser to begin parsing the string passed into the constructor The string is assumed to contain a method definition | |
| skExprNode * | parseExpression () |
| this method instructs the parser to begin parsing the string passed into the constructor The string is assumed to contain an expression, beginning with "=" | |
| operator TCleanupItem () | |
| Conversion operator to Symbian TCleanupItem. | |
| void | setTopNode (skParseNode *pNode) |
| sets the current top-level parse node | |
| void | removeTempString (skString *str) |
| removes a string from the temporary string list | |
| void | addParseNode (skParseNode *pNode) |
| Saves a parse node to the list of temporary nodes. | |
| void | appendError (const skString &msg) |
| this adds a compile error message to the list of messages | |
| void | appendError (const Char *msg) |
| this adds a compile error message to the list of messages | |
| skCompileErrorList & | getErrList () |
| This returns the current compile error list. | |
| int | lex (void *lvalp, void *lloc) |
| This message returns the next token in the stream. | |
Static Public Member Functions | |
| void | Cleanup (TAny *s) |
| Called via Symbian CleanupStack in the event of a leave. | |
|
||||||||||||
|
constructor
|
|
|
Saves a parse node to the list of temporary nodes. If an error occurs these will be cleared up
|
|
|
this adds a compile error message to the list of messages
|
|
|
this adds a compile error message to the list of messages
|
|
|
Called via Symbian CleanupStack in the event of a leave. This calls the cleanupTempNodes method in the parser
|
|
||||||||||||
|
This message returns the next token in the stream.
|
|
|
Conversion operator to Symbian TCleanupItem. This is provided to allow this object to be pushed by value onto the Symbian Cleanup Stack
|
|
|
this method instructs the parser to begin parsing the string passed into the constructor The string is assumed to contain an expression, beginning with "="
|
|
|
this method instructs the parser to begin parsing the string passed into the constructor The string is assumed to contain a method definition
|
|
|
removes a string from the temporary string list
|
|
|
sets the current top-level parse node
|
1.3