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