"L. Spiro Engine"
Public Member Functions | Protected Attributes

lsg::CShaderLexer Class Reference

Defines the lexer base class by #define'ing yyFlexLexer before including LSGShaderLexBase.h. More...

#include <LSGShaderLexer.h>

List of all members.

Public Member Functions

LSE_CALLCTOR CShaderLexer (std::istream *_pisStream, std::ostream *_posStream=NULL)
virtual LSUINT32 LSE_CALL NewLex ()
LSVOID LSE_CALL SetContainer (const CShaderLanguageParser &_slpParserContainer)

Protected Attributes

const CShaderLanguageParserm_pslpContainer

Detailed Description

Defines the lexer base class by #define'ing yyFlexLexer before including LSGShaderLexBase.h.

Class CShaderLexer Description: Defines the lexer base class by #define'ing yyFlexLexer before including LSGShaderLexBase.h.


Member Function Documentation

virtual LSUINT32 LSE_CALL lsg::CShaderLexer::NewLex ( ) [virtual]

Perform the work of scanning input for tokens.

Returns:
Returns the next token.
LSVOID LSE_CALL lsg::CShaderLexer::SetContainer ( const CShaderLanguageParser _slpParserContainer)

Set the container. This is used to access everything the lexer needs about the current state of the compiled data.

Parameters:
_slpParserContainerReference to the container to be used by this lexer.

Member Data Documentation

The container that handles collection of all of the script data.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator