Ogre::Compiler2Pass::TokenInst Struct Reference

map used to lookup client token based on previously defined lexeme More...

#include <OgreCompiler2Pass.h>

List of all members.

Public Attributes

size_t NTTRuleID
size_t tokenID
 Non-Terminal Token Rule ID that generated Token.
size_t line
 expected Token ID. Could be UNKNOWN if valid token was not found.
size_t pos
 line number in source code where Token was found
bool found
 Character position in source where Token was found.


Detailed Description

map used to lookup client token based on previously defined lexeme

structure for Token instructions that are constructed during first pass

Definition at line 236 of file OgreCompiler2Pass.h.


Member Data Documentation

size_t Ogre::Compiler2Pass::TokenInst::NTTRuleID

Definition at line 238 of file OgreCompiler2Pass.h.

size_t Ogre::Compiler2Pass::TokenInst::tokenID

Non-Terminal Token Rule ID that generated Token.

Definition at line 239 of file OgreCompiler2Pass.h.

size_t Ogre::Compiler2Pass::TokenInst::line

expected Token ID. Could be UNKNOWN if valid token was not found.

Definition at line 240 of file OgreCompiler2Pass.h.

size_t Ogre::Compiler2Pass::TokenInst::pos

line number in source code where Token was found

Definition at line 241 of file OgreCompiler2Pass.h.

bool Ogre::Compiler2Pass::TokenInst::found

Character position in source where Token was found.

Definition at line 242 of file OgreCompiler2Pass.h.


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

Copyright © 2008 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Tue Nov 4 11:03:06 2008