- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# 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 237 of file OgreCompiler2Pass.h.

## Member Data Documentation

size_t Ogre::Compiler2Pass::TokenInst::NTTRuleID

Definition at line 239 of file OgreCompiler2Pass.h.

size_t Ogre::Compiler2Pass::TokenInst::tokenID

Non-Terminal Token Rule ID that generated Token.

Definition at line 240 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 241 of file OgreCompiler2Pass.h.

size_t Ogre::Compiler2Pass::TokenInst::pos

line number in source code where Token was found

Definition at line 242 of file OgreCompiler2Pass.h.

bool Ogre::Compiler2Pass::TokenInst::found

Character position in source where Token was found.

Definition at line 243 of file OgreCompiler2Pass.h.

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

- OgreCompiler2Pass.h

Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:49:21 2008