ScummVM API documentation
asCTokenizer Class Reference

Public Member Functions

eTokenType GetToken (const char *source, size_t sourceLength, size_t *tokenLength, asETokenClass *tc=0) const
 

Static Public Member Functions

static const char * GetDefinition (int tokenType)
 

Protected Member Functions

asETokenClass ParseToken (const char *source, size_t sourceLength, size_t &tokenLength, eTokenType &tokenType) const
 
bool IsWhiteSpace (const char *source, size_t sourceLength, size_t &tokenLength, eTokenType &tokenType) const
 
bool IsComment (const char *source, size_t sourceLength, size_t &tokenLength, eTokenType &tokenType) const
 
bool IsConstant (const char *source, size_t sourceLength, size_t &tokenLength, eTokenType &tokenType) const
 
bool IsKeyWord (const char *source, size_t sourceLength, size_t &tokenLength, eTokenType &tokenType) const
 
bool IsIdentifier (const char *source, size_t sourceLength, size_t &tokenLength, eTokenType &tokenType) const
 
bool IsDigitInRadix (char ch, int radix) const
 

Protected Attributes

const asCScriptEngineengine
 
const sTokenWord ** keywordTable [256]
 

The documentation for this class was generated from the following file: