Derived from: none
Declared in: Lexeme.h
Well, there's nothing much to say about the Lexeme. It is pretty self-explanatory.
Anyway, I can say that this class stores information about a... Lexeme! That is, the
lexeme itself and its token.
That's it...
Lexeme(const char* String, uint32 Token)
Creates a new lexemes whose "name" is given by String, and whose token is given by Token.
~Lexeme(void)
Absolutely nothing is done in here.
const char* GetName()
Returns the "name" of the lexeme. Strictly speaking, I'd rather say that it returns the lexeme itself.
uint32 GetToken()
Returns the token associated with the lexeme.