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.
◆ line
uint32 Ogre::ScriptToken::line |
◆ 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: