|
Public Member Functions |
| | Lex (Program *) |
| int | GetToken (Token &) |
| int | LookAhead (int) |
| int | LookAhead (int, Token &) |
| char * | Save () |
| void | Restore (char *) |
| void | GetOnlyClosingBracket (Token &) |
| Ptree * | GetComments () |
| Ptree * | GetComments2 () |
| uint | LineNumber (char *, char *&, int &) |
Static Public Member Functions |
| bool | RecordKeyword (char *, int) |
| bool | Reify (Ptree *, unsigned int &) |
| bool | Reify (Ptree *t, char *&) |
Private Member Functions |
| uint | Tokenp () |
| int | TokenLen () |
| char * | TokenPosition () |
| char | Ref (uint i) |
| void | Rewind (char *) |
| int | ReadToken (char *&, int &) |
| void | SkipAttributeToken () |
| int | SkipExtensionToken (char *&, int &) |
| char | GetNextNonWhiteChar () |
| int | ReadLine () |
| bool | ReadCharConst (uint top) |
| bool | ReadStrConst (uint top) |
| int | ReadNumber (char c, uint top) |
| int | ReadFloat (uint top) |
| bool | ReadLineDirective () |
| int | ReadIdentifier (uint top) |
| int | Screening (char *identifier, int len) |
| int | ReadSeparator (char c, uint top) |
| int | SingleCharOp (unsigned char c) |
| int | ReadComment (char c, uint top) |
Private Attributes |
| Program * | file |
| TokenFifo | fifo |
| uint | tokenp |
| int | token_len |
| int | last_token |
Static Private Attributes |
| HashTable * | user_keywords = nil |
| Ptree * | comments = nil |