src/Lexer.h

changeset 108
6409ece8297c
parent 105
6dbac3305614
child 110
7a7a53f1d51b
equal deleted inserted replaced
107:55c2bcd8ed5c 108:6409ece8297c
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); 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 GEXPRSYM_tOne (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 DescribeCurrentPosition(); 63 String DescribeCurrentPosition();

mercurial