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 205 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 214 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 215 of file OgreCompiler2Pass.h.


Member Data Documentation

Definition at line 207 of file OgreCompiler2Pass.h.

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

Definition at line 208 of file OgreCompiler2Pass.h.

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

Definition at line 209 of file OgreCompiler2Pass.h.

if true then token is non-terminal

Definition at line 210 of file OgreCompiler2Pass.h.

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

Definition at line 211 of file OgreCompiler2Pass.h.

if true use case sensitivity when comparing lexeme to source

Definition at line 212 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 Sun Sep 27 22:03:02 2009