Tokenizer.h 434 B

123456789101112131415161718192021222324
  1. #ifndef TOKENIZER_H
  2. #define TOKENIZER_H
  3. #include <stdbool.h>
  4. #include "Types.h"
  5. #include "tokenizer/Token.h"
  6. bool tTokenize(const char* path);
  7. const char* tGetError();
  8. int tGetLine();
  9. void tResetReader();
  10. Token tPeekToken();
  11. Token tReadToken();
  12. bool tReadInt16(int16* i);
  13. bool tReadInt32(int32* i);
  14. bool tReadInt64(int64* i);
  15. bool tReadFloat(float* f);
  16. const char* tReadString();
  17. int tGetMarker();
  18. void tReset(int marker);
  19. #endif