![]() |
OGRE 2.3.1
Object-Oriented Graphics Rendering Engine
|
This struct represents a token, which is an ID'd lexeme from the parsing input stream. More...
#include <OgreScriptLexer.h>
Public Member Functions | |
String | lexeme (bool unquote=false) const |
bool | lexemeEquals (const char *str) const |
Public Attributes | |
uint32 | lexemeLen |
const char * | lexemePtr |
This is the lexeme for this token, points into ScriptLexer::lexemeStorage. | |
uint32 | line |
This holds the line number of the input stream where the token was found. | |
uint32 | type |
This is the id associated with the lexeme, which comes from a lexeme-token id mapping. | |
This struct represents a token, which is an ID'd lexeme from the parsing input stream.
uint32 Ogre::ScriptToken::lexemeLen |
Referenced by lexeme(), and lexemeEquals().
This is the lexeme for this token, points into ScriptLexer::lexemeStorage.
Referenced by lexeme(), and lexemeEquals().
uint32 Ogre::ScriptToken::line |
This holds the line number of the input stream where the token was found.
uint32 Ogre::ScriptToken::type |
This is the id associated with the lexeme, which comes from a lexeme-token id mapping.