src/Lexer.h

changeset 116
56ff19947607
parent 115
9be16e1c1e44
equal deleted inserted replaced
115:9be16e1c1e44 116:56ff19947607
53 53
54 void processFile (String fileName); 54 void processFile (String fileName);
55 bool next (ETokenType req = TK_Any); 55 bool next (ETokenType req = TK_Any);
56 void mustGetNext (ETokenType tok); 56 void mustGetNext (ETokenType tok);
57 void mustGetAnyOf (const List<ETokenType>& toks); 57 void mustGetAnyOf (const List<ETokenType>& toks);
58 void mustGetSymbol (const String& a);
58 int getOneSymbol (const StringList& syms); 59 int getOneSymbol (const StringList& syms);
59 void tokenMustBe (ETokenType tok); 60 void tokenMustBe (ETokenType tok);
60 bool peekNext (TokenInfo* tk = null); 61 bool peekNext (TokenInfo* tk = null);
61 bool peekNextType (ETokenType req); 62 bool peekNextType (ETokenType req);
62 String peekNextString (int a = 1); 63 String peekNextString (int a = 1);

mercurial