This struct represents a token, which is an ID'd lexeme from the parsing input stream.
More...
#include <OgreScriptLexer.h>
This struct represents a token, which is an ID'd lexeme from the parsing input stream.
◆ lexeme()
String Ogre::ScriptToken::lexeme |
( |
bool |
unquote = false | ) |
const |
|
inline |
◆ lexemeEquals()
bool Ogre::ScriptToken::lexemeEquals |
( |
const char * |
str | ) |
const |
|
inline |
◆ lexemeLen
uint32 Ogre::ScriptToken::lexemeLen |
◆ lexemePtr
const char* Ogre::ScriptToken::lexemePtr |
This is the lexeme for this token, points into ScriptLexer::lexemeStorage.
Referenced by lexeme(), and lexemeEquals().
◆ line
uint32 Ogre::ScriptToken::line |
This holds the line number of the input stream where the token was found.
◆ type
uint32 Ogre::ScriptToken::type |
This is the id associated with the lexeme, which comes from a lexeme-token id mapping.
The documentation for this struct was generated from the following file: