Public Attributes | List of all members
Ogre::ScriptToken Struct Reference

This struct represents a token, which is an ID'd lexeme from the parsing input stream. More...

#include <OgreScriptLexer.h>

Public Attributes

String file
 
String lexeme
 This is the lexeme for this token. More...
 
uint32 line
 This holds the line number of the input stream where the token was found. More...
 
uint32 type
 This is the id associated with the lexeme, which comes from a lexeme-token id mapping. More...
 

Detailed Description

This struct represents a token, which is an ID'd lexeme from the parsing input stream.

Definition at line 65 of file OgreScriptLexer.h.

Member Data Documentation

§ file

String Ogre::ScriptToken::file

Definition at line 68 of file OgreScriptLexer.h.

§ lexeme

String Ogre::ScriptToken::lexeme

This is the lexeme for this token.

Definition at line 68 of file OgreScriptLexer.h.

Referenced by Ogre::ScriptLexer::~ScriptLexer().

§ line

uint32 Ogre::ScriptToken::line

This holds the line number of the input stream where the token was found.

Definition at line 72 of file OgreScriptLexer.h.

Referenced by Ogre::ScriptLexer::~ScriptLexer().

§ type

uint32 Ogre::ScriptToken::type

This is the id associated with the lexeme, which comes from a lexeme-token id mapping.

Definition at line 70 of file OgreScriptLexer.h.


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

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jan 2 2017 11:48:48