# 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/ytable.h"
#include "nel/ai/script/lexsupport.h"

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   35
#define YY_END_OF_BUFFER   36
#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   YY_USER_ACTION
#define YY_EXIT_FAILURE   2
#define yyless(n)

Typedefs

typedef 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 [50]
yyconst yy_state_type yy_NUL_trans [50]
yy_size_t size


Define Documentation

#define BEGIN   yy_start = 1 + 2 *
 

Definition at line 79 of file lexlang.cpp.

#define ECHO   LexerOutput( yytext, yyleng )
 

Definition at line 1933 of file lexlang.cpp.

#define EOB_ACT_CONTINUE_SCAN   0
 

Definition at line 103 of file lexlang.cpp.

#define EOB_ACT_END_OF_FILE   1
 

Definition at line 104 of file lexlang.cpp.

#define EOB_ACT_LAST_MATCH   2
 

Definition at line 105 of file lexlang.cpp.

#define FLEX_SCANNER
 

Definition at line 7 of file lexlang.cpp.

#define INITIAL   0
 

Definition at line 1857 of file lexlang.cpp.

#define REJECT   reject_used_but_not_detected
 

Definition at line 1853 of file lexlang.cpp.

#define unput      yyunput( c, yytext_ptr )
 

Definition at line 133 of file lexlang.cpp.

 
#define YY_AT_BOL      (yy_current_buffer->yy_at_bol)
 

Definition at line 228 of file lexlang.cpp.

#define YY_BREAK   break;
 

Definition at line 1979 of file lexlang.cpp.

#define YY_BUF_SIZE   16384
 

Definition at line 97 of file lexlang.cpp.

#define YY_BUFFER_EOF_PENDING   2
 

Definition at line 196 of file lexlang.cpp.

#define YY_BUFFER_NEW   0
 

Definition at line 184 of file lexlang.cpp.

#define YY_BUFFER_NORMAL   1
 

Definition at line 185 of file lexlang.cpp.

#define YY_CURRENT_BUFFER   yy_current_buffer
 

Definition at line 204 of file lexlang.cpp.

#define YY_DECL   int yyFlexLexer::yylex()
 

Definition at line 1967 of file lexlang.cpp.

#define YY_DO_BEFORE_ACTION
 

Value:

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 1823 of file lexlang.cpp.

#define YY_END_OF_BUFFER   36
 

Definition at line 1831 of file lexlang.cpp.

#define YY_END_OF_BUFFER_CHAR   0
 

Definition at line 94 of file lexlang.cpp.

#define YY_EXIT_FAILURE   2
 

Definition at line 3314 of file lexlang.cpp.

#define YY_FATAL_ERROR msg       LexerError( msg )
 

Definition at line 1960 of file lexlang.cpp.

#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   
 

Value:

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

Definition at line 1940 of file lexlang.cpp.

#define YY_MORE_ADJ   0
 

Definition at line 1855 of file lexlang.cpp.

#define yy_new_buffer   yy_create_buffer
 

Definition at line 212 of file lexlang.cpp.

#define YY_NEW_FILE   yyrestart( yyin )
 

Definition at line 92 of file lexlang.cpp.

#define YY_NO_POP_STATE   1
 

Definition at line 1906 of file lexlang.cpp.

#define YY_NO_PUSH_STATE   1
 

Definition at line 1905 of file lexlang.cpp.

#define YY_NO_TOP_STATE   1
 

Definition at line 1907 of file lexlang.cpp.

#define YY_NULL   0
 

Definition at line 66 of file lexlang.cpp.

#define YY_NUM_RULES   35
 

Definition at line 1830 of file lexlang.cpp.

#define YY_PROTO proto       ()
 

Definition at line 62 of file lexlang.cpp.

#define YY_READ_BUF_SIZE   8192
 

Definition at line 1927 of file lexlang.cpp.

#define YY_RULE_SETUP   YY_USER_ACTION
 

Definition at line 1982 of file lexlang.cpp.

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

Definition at line 73 of file lexlang.cpp.

#define yy_set_bol at_bol   
 

Value:

{ \
        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 221 of file lexlang.cpp.

#define yy_set_interactive is_interactive   
 

Value:

{ \
        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 214 of file lexlang.cpp.

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

Definition at line 85 of file lexlang.cpp.

#define YY_START_STACK_INCR   25
 

Definition at line 1955 of file lexlang.cpp.

#define YY_STATE_EOF state       (YY_END_OF_BUFFER + state + 1)
 

Definition at line 89 of file lexlang.cpp.

#define yyconst
 

Definition at line 55 of file lexlang.cpp.

#define yyless  
 

Value:

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 3328 of file lexlang.cpp.

#define yyless  
 

Value:

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 3328 of file lexlang.cpp.

 
#define yymore      yymore_used_but_not_detected
 

Definition at line 1854 of file lexlang.cpp.

#define YYSTATE   YY_START
 

Definition at line 86 of file lexlang.cpp.

 
#define yyterminate      return YY_NULL
 

Definition at line 1950 of file lexlang.cpp.

#define yytext_ptr   yytext
 

Definition at line 231 of file lexlang.cpp.


Typedef Documentation

typedef struct yy_buffer_state* YY_BUFFER_STATE
 

Definition at line 99 of file lexlang.cpp.

typedef unsigned char YY_CHAR
 

Definition at line 230 of file lexlang.cpp.

typedef unsigned int yy_size_t
 

Definition at line 139 of file lexlang.cpp.


Function Documentation

void* yy_flex_alloc size    [static]
 

int input 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]
 


Variable Documentation

yy_size_t size
 

Definition at line 3375 of file lexlang.cpp.

yyconst short int yy_accept[50] [static]
 

Initial value:

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

Definition at line 1832 of file lexlang.cpp.

yyconst yy_state_type yy_NUL_trans[50] [static]
 

Initial value:

    {   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,    0
    }

Definition at line 1841 of file lexlang.cpp.

yyconst short yy_nxt[][256] [static]
 

Definition at line 234 of file lexlang.cpp.

int yyleng
 

Definition at line 101 of file lexlang.cpp.