51 Lexer(); |
51 Lexer(); |
52 ~Lexer(); |
52 ~Lexer(); |
53 |
53 |
54 void ProcessFile (String file_name); |
54 void ProcessFile (String file_name); |
55 bool GetNext (EToken req = tkAny); |
55 bool GetNext (EToken req = tkAny); |
56 void MustGetNext (EToken tok = tkAny); |
56 void MustGetNext (EToken tok); |
57 void MustGetAnyOf (const List<EToken>& toks); |
57 void MustGetAnyOf (const List<EToken>& toks); |
58 int GetOneSymbol (const StringList& syms); |
58 int GetOneSymbol (const StringList& syms); |
59 void TokenMustBe (EToken tok); |
59 void TokenMustBe (EToken tok); |
60 bool PeekNext (Token* tk = null); |
60 bool PeekNext (Token* tk = null); |
61 bool PeekNextType (EToken req); |
61 bool PeekNextType (EToken req); |