# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

lexlang.cpp File Reference

#include <nel/ai/script/lex.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <math.h>
#include "nel/ai/script/lexsupport.h"

Include dependency graph for lexlang.cpp:

Include dependency graph

Go to the source code of this file.

Compounds

struct  yy_buffer_state

Defines

#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION   2
#define YY_FLEX_MINOR_VERSION   5
#define yyconst
#define YY_PROTO(proto)    ()
#define YY_NULL   0
#define YY_SC_TO_UI(c)    ((unsigned int) (unsigned char) c)
#define BEGIN   yy_start = 1 + 2 *
#define YY_START   ((yy_start - 1) / 2)
#define YYSTATE   YY_START
#define YY_STATE_EOF(state)    (YY_END_OF_BUFFER + state + 1)
#define YY_NEW_FILE   yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR   0
#define YY_BUF_SIZE   16384
#define EOB_ACT_CONTINUE_SCAN   0
#define EOB_ACT_END_OF_FILE   1
#define EOB_ACT_LAST_MATCH   2
#define yyless(n)
#define unput(c)    yyunput( c, yytext_ptr )
#define YY_BUFFER_NEW   0
#define YY_BUFFER_NORMAL   1
#define YY_BUFFER_EOF_PENDING   2
#define YY_CURRENT_BUFFER   yy_current_buffer
#define yy_new_buffer   yy_create_buffer
#define yy_set_interactive(is_interactive)
#define yy_set_bol(at_bol)
#define YY_AT_BOL()    (yy_current_buffer->yy_at_bol)
#define yytext_ptr   yytext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   34
#define YY_END_OF_BUFFER   35
#define REJECT   reject_used_but_not_detected
#define yymore()    yymore_used_but_not_detected
#define YY_MORE_ADJ   0
#define INITIAL   0
#define YY_NO_PUSH_STATE   1
#define YY_NO_POP_STATE   1
#define YY_NO_TOP_STATE   1
#define YY_READ_BUF_SIZE   8192
#define ECHO   LexerOutput( yytext, yyleng )
#define YY_INPUT(buf,result,max_size)
#define yyterminate()    return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR(msg)    LexerError( msg )
#define YY_DECL   int yyFlexLexer::yylex()
#define YY_BREAK   break;
#define YY_RULE_SETUP
#define YY_EXIT_FAILURE   2
#define yyless(n)

Typedefs

typedef struct yy_buffer_stateYY_BUFFER_STATE
typedef unsigned int yy_size_t
typedef unsigned char YY_CHAR

Functions

void* yy_flex_alloc YY_PROTO (( yy_size_t ))
void* yy_flex_realloc YY_PROTO (( void *, yy_size_t ))
void yy_flex_free YY_PROTO (( void * ))
int yywrap YY_PROTO (( void ))
void* yy_flex_alloc ( size ) yy_size_t size

Variables

int yyleng
yyconst short yy_nxt [][256]
yyconst short int yy_accept [49]
yyconst yy_state_type yy_NUL_trans [49]
yy_size_t size


Define Documentation

#define BEGIN   yy_start = 1 + 2 *
 

Definition at line 78 of file lexlang.cpp.

#define ECHO   LexerOutput( yytext, yyleng )
 

Definition at line 1899 of file lexlang.cpp.

#define EOB_ACT_CONTINUE_SCAN   0
 

Definition at line 102 of file lexlang.cpp.

#define EOB_ACT_END_OF_FILE   1
 

Definition at line 103 of file lexlang.cpp.

#define EOB_ACT_LAST_MATCH   2
 

Definition at line 104 of file lexlang.cpp.

#define FLEX_SCANNER
 

Definition at line 7 of file lexlang.cpp.

#define INITIAL   0
 

Definition at line 1824 of file lexlang.cpp.

#define REJECT   reject_used_but_not_detected
 

Definition at line 1820 of file lexlang.cpp.

#define YYSTATE   YY_START
 

Definition at line 85 of file lexlang.cpp.

#define YY_AT_BOL( )   (yy_current_buffer->yy_at_bol)
 

Definition at line 227 of file lexlang.cpp.

#define YY_BREAK   break;
 

Definition at line 1945 of file lexlang.cpp.

#define YY_BUFFER_EOF_PENDING   2
 

Definition at line 195 of file lexlang.cpp.

#define YY_BUFFER_NEW   0
 

Definition at line 183 of file lexlang.cpp.

#define YY_BUFFER_NORMAL   1
 

Definition at line 184 of file lexlang.cpp.

#define YY_BUF_SIZE   16384
 

Definition at line 96 of file lexlang.cpp.

#define YY_CURRENT_BUFFER   yy_current_buffer
 

Definition at line 203 of file lexlang.cpp.

#define YY_DECL   int yyFlexLexer::yylex()
 

Definition at line 1933 of file lexlang.cpp.

#define YY_DO_BEFORE_ACTION
 

Initializer:

\
        yytext_ptr = yy_bp; \
        yyleng = (int) (yy_cp - yy_bp); \
        yy_hold_char = *yy_cp; \
        *yy_cp = '\0'; \
        yy_c_buf_p = yy_cp;

Definition at line 1790 of file lexlang.cpp.

#define YY_END_OF_BUFFER   35
 

Definition at line 1798 of file lexlang.cpp.

#define YY_END_OF_BUFFER_CHAR   0
 

Definition at line 93 of file lexlang.cpp.

#define YY_EXIT_FAILURE   2
 

Definition at line 3227 of file lexlang.cpp.

#define YY_FATAL_ERROR( msg )   LexerError( msg )
 

Definition at line 1926 of file lexlang.cpp.

Referenced by YY_RULE_SETUP().

#define YY_FLEX_MAJOR_VERSION   2
 

Definition at line 8 of file lexlang.cpp.

#define YY_FLEX_MINOR_VERSION   5
 

Definition at line 9 of file lexlang.cpp.

#define YY_INPUT( buf, result, max_size )
 

Initializer:

\
        if ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \
                YY_FATAL_ERROR( "input in flex scanner failed" );

Definition at line 1906 of file lexlang.cpp.

#define YY_MORE_ADJ   0
 

Definition at line 1822 of file lexlang.cpp.

#define YY_NEW_FILE   yyrestart( yyin )
 

Definition at line 91 of file lexlang.cpp.

#define YY_NO_POP_STATE   1
 

Definition at line 1872 of file lexlang.cpp.

#define YY_NO_PUSH_STATE   1
 

Definition at line 1871 of file lexlang.cpp.

#define YY_NO_TOP_STATE   1
 

Definition at line 1873 of file lexlang.cpp.

#define YY_NULL   0
 

Definition at line 65 of file lexlang.cpp.

#define YY_NUM_RULES   34
 

Definition at line 1797 of file lexlang.cpp.

#define YY_PROTO( proto )   ()
 

Definition at line 61 of file lexlang.cpp.

#define YY_READ_BUF_SIZE   8192
 

Definition at line 1893 of file lexlang.cpp.

#define YY_RULE_SETUP
 

Initializer:

\
        YY_USER_ACTION

Definition at line 1948 of file lexlang.cpp.

#define YY_SC_TO_UI( c )   ((unsigned int) (unsigned char) c)
 

Definition at line 72 of file lexlang.cpp.

Referenced by YY_RULE_SETUP().

#define YY_START   ((yy_start - 1) / 2)
 

Definition at line 84 of file lexlang.cpp.

#define YY_START_STACK_INCR   25
 

Definition at line 1921 of file lexlang.cpp.

#define YY_STATE_EOF( state )   (YY_END_OF_BUFFER + state + 1)
 

Definition at line 88 of file lexlang.cpp.

Referenced by YY_RULE_SETUP().

#define unput( c )   yyunput( c, yytext_ptr )
 

Definition at line 132 of file lexlang.cpp.

Referenced by YY_RULE_SETUP().

#define yy_new_buffer   yy_create_buffer
 

Definition at line 211 of file lexlang.cpp.

#define yy_set_bol( at_bol )
 

Initializer:

\
        { \
        if ( ! yy_current_buffer ) \
                yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
        yy_current_buffer->yy_at_bol = at_bol; \
        }

Definition at line 220 of file lexlang.cpp.

#define yy_set_interactive( is_interactive )
 

Initializer:

\
        { \
        if ( ! yy_current_buffer ) \
                yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
        yy_current_buffer->yy_is_interactive = is_interactive; \
        }

Definition at line 213 of file lexlang.cpp.

#define yyconst
 

Definition at line 54 of file lexlang.cpp.

#define yyless( n )
 

Initializer:

\
        do \
                { \
                  \
                yytext[yyleng] = yy_hold_char; \
                yy_c_buf_p = yytext + n - YY_MORE_ADJ; \
                yy_hold_char = *yy_c_buf_p; \
                *yy_c_buf_p = '\0'; \
                yyleng = n; \
                } \
        while ( 0 )

Definition at line 3241 of file lexlang.cpp.

#define yyless( n )
 

Initializer:

\
        do \
                { \
                  \
                *yy_cp = yy_hold_char; \
                yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
                YY_DO_BEFORE_ACTION;   \
                } \
        while ( 0 )

Definition at line 3241 of file lexlang.cpp.

#define yymore( )   yymore_used_but_not_detected
 

Definition at line 1821 of file lexlang.cpp.

#define yyterminate( )   return YY_NULL
 

Definition at line 1916 of file lexlang.cpp.

Referenced by YY_RULE_SETUP().

#define yytext_ptr   yytext
 

Definition at line 230 of file lexlang.cpp.


Typedef Documentation

typedef struct yy_buffer_state* YY_BUFFER_STATE
 

Definition at line 98 of file lexlang.cpp.

typedef unsigned char YY_CHAR
 

Definition at line 229 of file lexlang.cpp.

typedef unsigned int yy_size_t
 

Definition at line 138 of file lexlang.cpp.


Function Documentation

int yywrap YY_PROTO ( (void) )
 

void yy_flex_free YY_PROTO ( (void *) ) [static]
 

void* yy_flex_realloc YY_PROTO ( (void *,yy_size_t) ) [static]
 

void* yy_flex_alloc YY_PROTO ( (yy_size_t) ) [static]
 

void* yy_flex_alloc ( size ) [static]
 


Variable Documentation

yy_size_t size
 

Definition at line 3288 of file lexlang.cpp.

Referenced by NL3D::CInstanceUser::CInstanceUser(), NL3D::CSkeletonUser::CSkeletonUser(), NLAILOGIC::CVarSet::CVarSet(), NLAIAGENT::CVectorMsgContainer::CVectorMsgContainer(), TileCtrl::GetIndex(), TileCtrl::GetVisibility(), NLAILOGIC::IBaseOperator::IBaseOperator(), TileCtrl::InsertItemInCtrlList(), TileCtrl::OnDropFiles(), TileCtrl::OnPaint(), CSceneDlg::OnResetCamera(), TileCtrl::UpdateBuffer(), TileCtrl::WindowProc(), NLAILOGIC::CRule::addConc(), NLAILOGIC::CClause::addCond(), NLAISCRIPT::CCompilateur::allocExpression(), NLMISC::CBitmap::alphaLuminanceToAlpha(), NLMISC::CBitmap::alphaLuminanceToLuminance(), NLMISC::CBitmap::alphaLuminanceToRGBA(), NLMISC::CBitmap::alphaToAlphaLuminance(), NLMISC::CBitmap::alphaToRGBA(), NL3D::CZone::build(), NL3D::CMesh::build(), NLAISCRIPT::COperatorClass::buildLogicTables(), CExportNel::buildShape(), NL3D::CMesh::buildSkin(), CExportNel::buildSkinning(), NL3D::CShapeBank::checkShapeCache(), NL3D::CMRMBuilder::collapseEdge(), NL3D::CMRMBuilder::collapseEdges(), NLAISCRIPT::COperatorClass::compileFactPattern(), NLAILOGIC::CFirstOrderOperator::compileFactPattern(), NLMISC::CBitmap::convertToDXTC5(), NL3D::CDRU::drawLinesUnlit(), NL3D::CDRU::drawTrianglesUnlit(), NL3D::CMRMBuilder::edgeContinue(), NL3D::CMRMBuilder::edgeNearUniqueMatFace(), NLAISCRIPT::CParam::eval(), NLAIAGENT::CMessageScript::getDebugString(), NL3D::CMRMBuilder::getDeltaFaceNormals(), NL3D::CLandscape::getHeightFieldDeltaZ(), RPatchMesh::getMapHitSize(), getShading(), NLAIAGENT::CMessageScript::getStaticMember(), NLAISCRIPT::CParam::getString(), RPatchMesh::getUIPatchSize(), RPatchMesh::getUIVertexSize(), NLAILOGIC::CRule::init(), NL3D::CMRMBuilder::init(), NLAIAGENT::CVectorGroupType::isEqual(), NLAIAGENT::CGroupType::isEqual(), NLAICHARACTER::CCharacterNoeud::isEqual(), NLMISC::CBitmap::luminanceToAlpha(), NLMISC::CBitmap::luminanceToAlphaLuminance(), NLMISC::CBitmap::luminanceToRGBA(), NL3D::CZoneTgtSmoother::makeVerticesCoplanar(), NLMISC::CBitSet::operator &=(), NLAIAGENT::CVectorGroupType::operator!(), NLAIAGENT::CGroupType::operator!(), ucstring::operator+=(), NLAISCRIPT::COperandListType::operator==(), NLAISCRIPT::COperandSimpleListOr::operator==(), NLAISCRIPT::CParam::operator==(), NLAILOGIC::CGoal::operator==(), NLMISC::CBitSet::operator^=(), NLMISC::CBitSet::operator|=(), NLMISC::CConfigFile::print(), NLAISCRIPT::CCodeBrancheRunDebug::printArgs(), NL3D::CMiniCol::removeZone(), NL3D::CMesh::render(), NL3D::CPatch::renderFar0(), NL3D::CPatch::renderFar1(), NLMISC::CBufFIFO::resize(), NLMISC::CBitmap::rgbaToAlpha(), NLMISC::CBitmap::rgbaToAlphaLuminance(), NLMISC::CBitmap::rgbaToLuminance(), NLAISCRIPT::CConstraintMethode::run(), NLAIAGENT::IBaseGroupType::runMethodeMember(), NLAISCRIPT::CLibHeapMemberMethod::runOpCode(), NLAISCRIPT::CFindRunMsg::runOpCode(), NLMISC::CConfigFile::save(), NL3D::CZone::serial(), NLMISC::CBitSet::serial(), NL3D::CMiniCol::setCenter(), NLAIAGENT::CMessageScript::setStaticMember(), NLAILOGIC::CVarSet::unify(), NL3D::CMRMBuilder::vertexClosed(), NL3D::CMRMBuilder::vertexHasOneMaterial(), and NL3D::CMRMBuilder::vertexHasOneWedge().

yyconst yy_state_type yy_NUL_trans[49] [static]
 

Initializer:

{   0,
        4,    4,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,
        0,    0,    0,    0,    0,    0,    0,    0
    }

Definition at line 1808 of file lexlang.cpp.

yyconst short int yy_accept[49] [static]
 

Initializer:

{   0,
        0,    0,   35,   34,    1,    3,    2,   17,   19,   31,
       12,   13,   22,   20,   24,   21,   11,   23,    5,   27,
       26,   16,   14,   15,   30,   10,   10,   10,   10,   33,
       32,   28,   18,   29,   25,    0,    5,    9,   10,    4,
        5,    6,    7,    8,    9,    9,    8,    8
    }

Definition at line 1799 of file lexlang.cpp.

yyconst short yy_nxt[][256] [static]
 

Definition at line 233 of file lexlang.cpp.

int yyleng
 

Definition at line 100 of file lexlang.cpp.