40 #ifndef AS_TOKENIZER_H 41 #define AS_TOKENIZER_H 43 #include "as_config.h" 44 #include "as_tokendef.h" 46 #include "as_string.h" 52 eTokenType GetToken(
const char *source,
size_t sourceLength,
size_t *tokenLength, asETokenClass *tc = 0)
const;
54 static const char *GetDefinition(
int tokenType);
62 asETokenClass ParseToken(
const char *source,
size_t sourceLength,
size_t &tokenLength, eTokenType &tokenType)
const;
63 bool IsWhiteSpace(
const char *source,
size_t sourceLength,
size_t &tokenLength, eTokenType &tokenType)
const;
64 bool IsComment(
const char *source,
size_t sourceLength,
size_t &tokenLength, eTokenType &tokenType)
const;
65 bool IsConstant(
const char *source,
size_t sourceLength,
size_t &tokenLength, eTokenType &tokenType)
const;
66 bool IsKeyWord(
const char *source,
size_t sourceLength,
size_t &tokenLength, eTokenType &tokenType)
const;
67 bool IsIdentifier(
const char *source,
size_t sourceLength,
size_t &tokenLength, eTokenType &tokenType)
const;
68 bool IsDigitInRadix(
char ch,
int radix)
const;
Definition: as_tokendef.h:181
Definition: as_scriptengine.h:64
Definition: as_tokenizer.h:50