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); |
62 String PeekNextString (int a = 1); |
62 String PeekNextString (int a = 1); |
63 String DescribePosition(); |
63 String DescribeCurrentPosition(); |
|
64 String DescribeTokenPosition(); |
64 |
65 |
65 static Lexer* GetCurrentLexer(); |
66 static Lexer* GetCurrentLexer(); |
66 |
67 |
67 inline bool HasValidToken() const |
68 inline bool HasValidToken() const |
68 { |
69 { |