22 #ifndef WINTERMUTE_X_FILE_LEXER_H 23 #define WINTERMUTE_X_FILE_LEXER_H 25 #include "common/memstream.h" 26 #include "common/scummsys.h" 27 #include "common/str.h" 58 void pushChar(
char c);
63 XFileLexer(byte *buffer, uint32 fileSize,
bool isText);
65 void advanceToNextToken();
66 void skipTerminator();
68 bool tokenIsIdentifier();
69 bool tokenIsIdentifier(
const char *val);
70 void advanceOnOpenBraces();
71 bool reachedClosedBraces();
72 TokenType getTypeOfToken();
73 bool tokenIsOfType(TokenType type);
75 double tokenToFloat();
77 uint32 tokenToUint32();
87 void nextTokenBinary();
95 bool _expectsTerminator;
Definition: memstream.h:43
Definition: achievements_tables.h:27