Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Ogre::Compiler2Pass::LexemeTokenDef Struct Reference

structure used to build lexeme Type library More...

#include <OgreCompiler2Pass.h>

List of all members.

Public Member Functions

 LexemeTokenDef (void)
 text representation of token or valid characters for label parsing

 LexemeTokenDef (const size_t ID, const String &lexeme, const bool hasAction=false, const bool caseSensitive=false)

Public Attributes

size_t ID
bool hasAction
 Token ID which is the index into the Lexeme Token Definition Container.

bool isNonTerminal
 has an action associated with it. only applicable to terminal tokens

size_t ruleID
 if true then token is non-terminal

bool isCaseSensitive
 index into Rule database for non-terminal token rulepath and lexeme

String lexeme
 if true use case sensitivity when comparing lexeme to source


Detailed Description

structure used to build lexeme Type library

Definition at line 163 of file OgreCompiler2Pass.h.


Constructor & Destructor Documentation

Ogre::Compiler2Pass::LexemeTokenDef::LexemeTokenDef void   ) 
 

text representation of token or valid characters for label parsing

Definition at line 172 of file OgreCompiler2Pass.h.

Ogre::Compiler2Pass::LexemeTokenDef::LexemeTokenDef const size_t  ID,
const String lexeme,
const bool  hasAction = false,
const bool  caseSensitive = false
 

Definition at line 173 of file OgreCompiler2Pass.h.

References Ogre::String.


Member Data Documentation

bool Ogre::Compiler2Pass::LexemeTokenDef::hasAction
 

Token ID which is the index into the Lexeme Token Definition Container.

Definition at line 166 of file OgreCompiler2Pass.h.

size_t Ogre::Compiler2Pass::LexemeTokenDef::ID
 

Definition at line 165 of file OgreCompiler2Pass.h.

bool Ogre::Compiler2Pass::LexemeTokenDef::isCaseSensitive
 

index into Rule database for non-terminal token rulepath and lexeme

Definition at line 169 of file OgreCompiler2Pass.h.

bool Ogre::Compiler2Pass::LexemeTokenDef::isNonTerminal
 

has an action associated with it. only applicable to terminal tokens

Definition at line 167 of file OgreCompiler2Pass.h.

String Ogre::Compiler2Pass::LexemeTokenDef::lexeme
 

if true use case sensitivity when comparing lexeme to source

Definition at line 170 of file OgreCompiler2Pass.h.

size_t Ogre::Compiler2Pass::LexemeTokenDef::ruleID
 

if true then token is non-terminal

Definition at line 168 of file OgreCompiler2Pass.h.


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

Copyright © 2000-2005 by The OGRE Team
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:38:25 2006