#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.
Data Structures | |
struct | yy_buffer_state |
Defines | |
#define | BEGIN yy_start = 1 + 2 * |
#define | ECHO LexerOutput( yytext, yyleng ) |
#define | EOB_ACT_CONTINUE_SCAN 0 |
#define | EOB_ACT_END_OF_FILE 1 |
#define | EOB_ACT_LAST_MATCH 2 |
#define | FLEX_SCANNER |
#define | INITIAL 0 |
#define | REJECT reject_used_but_not_detected |
#define | unput(c) yyunput( c, yytext_ptr ) |
#define | YY_AT_BOL() (yy_current_buffer->yy_at_bol) |
#define | YY_BREAK break; |
#define | YY_BUF_SIZE 16384 |
#define | YY_BUFFER_EOF_PENDING 2 |
#define | YY_BUFFER_NEW 0 |
#define | YY_BUFFER_NORMAL 1 |
#define | YY_CURRENT_BUFFER yy_current_buffer |
#define | YY_DECL int yyFlexLexer::yylex() |
#define | YY_DO_BEFORE_ACTION |
#define | YY_END_OF_BUFFER 36 |
#define | YY_END_OF_BUFFER_CHAR 0 |
#define | YY_EXIT_FAILURE 2 |
#define | YY_FATAL_ERROR(msg) LexerError( msg ) |
#define | YY_FLEX_MAJOR_VERSION 2 |
#define | YY_FLEX_MINOR_VERSION 5 |
#define | YY_INPUT(buf, result, max_size) |
#define | YY_MORE_ADJ 0 |
#define | yy_new_buffer yy_create_buffer |
#define | YY_NEW_FILE yyrestart( yyin ) |
#define | YY_NO_POP_STATE 1 |
#define | YY_NO_PUSH_STATE 1 |
#define | YY_NO_TOP_STATE 1 |
#define | YY_NULL 0 |
#define | YY_NUM_RULES 35 |
#define | YY_PROTO(proto) () |
#define | YY_READ_BUF_SIZE 8192 |
#define | YY_RULE_SETUP YY_USER_ACTION |
#define | YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
#define | yy_set_bol(at_bol) |
#define | yy_set_interactive(is_interactive) |
#define | YY_START ((yy_start - 1) / 2) |
#define | YY_START_STACK_INCR 25 |
#define | YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
#define | yyconst |
#define | yyless(n) |
#define | yyless(n) |
#define | yymore() yymore_used_but_not_detected |
#define | YYSTATE YY_START |
#define | yyterminate() return YY_NULL |
#define | yytext_ptr yytext |
Typedefs | |
typedef yy_buffer_state * | YY_BUFFER_STATE |
typedef unsigned char | YY_CHAR |
typedef unsigned int | yy_size_t |
Functions | |
int | isatty () |
void * | yy_flex_alloc (size) yy_size_t size |
void * | yy_flex_alloc () |
void | yy_flex_free () |
void * | yy_flex_realloc () |
int | yywrap () |
Variables | |
yy_size_t | size |
short int | yy_accept [50] |
yy_state_type | yy_NUL_trans [50] |
short | yy_nxt [][256] |
int | yyleng |
|
Definition at line 79 of file lexlang.cpp. |
|
Definition at line 1933 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 103 of file lexlang.cpp. Referenced by cflex(), NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), yy_get_next_buffer(), NLAISCRIPT::yyFlexLexer::yyinput(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 104 of file lexlang.cpp. Referenced by cflex(), NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), yy_get_next_buffer(), NLAISCRIPT::yyFlexLexer::yyinput(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 105 of file lexlang.cpp. Referenced by cflex(), NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), yy_get_next_buffer(), NLAISCRIPT::yyFlexLexer::yyinput(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 7 of file lexlang.cpp. |
|
Definition at line 1857 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 1853 of file lexlang.cpp. |
|
Definition at line 133 of file lexlang.cpp. Referenced by NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 228 of file lexlang.cpp. |
|
Definition at line 1979 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 97 of file lexlang.cpp. Referenced by cflex(), NLAISCRIPT::yyFlexLexer::switch_streams(), NLAISCRIPT::yyFlexLexer::yyFlexLexer(), NLAISCRIPT::yyFlexLexer::yylex(), and NLAISCRIPT::yyFlexLexer::yyrestart(). |
|
Definition at line 196 of file lexlang.cpp. Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), and yy_get_next_buffer(). |
|
Definition at line 184 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 185 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 204 of file lexlang.cpp. |
|
Definition at line 1967 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
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. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 1831 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 94 of file lexlang.cpp. Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), yy_get_next_buffer(), and NLAISCRIPT::yyFlexLexer::yyinput(). |
|
Definition at line 3314 of file lexlang.cpp. |
|
Definition at line 1960 of file lexlang.cpp. Referenced by cflex(), NLAISCRIPT::yyFlexLexer::yy_create_buffer(), NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), yy_get_next_buffer(), NLAISCRIPT::yyFlexLexer::yyinput(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 8 of file lexlang.cpp. |
|
Definition at line 9 of file lexlang.cpp. |
|
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. Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), and yy_get_next_buffer(). |
|
Definition at line 1855 of file lexlang.cpp. Referenced by cflex(), NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), yy_get_next_buffer(), NLAISCRIPT::yyFlexLexer::yy_get_previous_state(), yy_get_previous_state(), NLAISCRIPT::yyFlexLexer::yyinput(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 212 of file lexlang.cpp. |
|
Definition at line 92 of file lexlang.cpp. Referenced by cflex(), NLAISCRIPT::yyFlexLexer::yyinput(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 1906 of file lexlang.cpp. |
|
Definition at line 1905 of file lexlang.cpp. |
|
Definition at line 1907 of file lexlang.cpp. |
|
Definition at line 66 of file lexlang.cpp. |
|
Definition at line 1830 of file lexlang.cpp. |
|
Definition at line 62 of file lexlang.cpp. |
|
Definition at line 1927 of file lexlang.cpp. Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), and yy_get_next_buffer(). |
|
Definition at line 1982 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 73 of file lexlang.cpp. Referenced by cflex(), NLAISCRIPT::yyFlexLexer::yy_get_previous_state(), yy_get_previous_state(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
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. |
|
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. |
|
Definition at line 85 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 1955 of file lexlang.cpp. |
|
Definition at line 89 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 55 of file lexlang.cpp. |
|
Value: do \ { \ /* Undo effects of setting up yytext. */ \ 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. |
|
Value: do \ { \ /* Undo effects of setting up yytext. */ \ *yy_cp = yy_hold_char; \ yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) Definition at line 3328 of file lexlang.cpp. |
|
Definition at line 1854 of file lexlang.cpp. |
|
Definition at line 86 of file lexlang.cpp. |
|
Definition at line 1950 of file lexlang.cpp. Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
|
Definition at line 99 of file lexlang.cpp. Referenced by NLAISCRIPT::yyFlexLexer::yy_create_buffer(), NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), and yy_get_next_buffer(). |
|
Definition at line 230 of file lexlang.cpp. |
|
Definition at line 139 of file lexlang.cpp. |
|
|
|
|
|
Referenced by NLAISCRIPT::yyFlexLexer::yy_create_buffer(). |
|
|
|
Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), and yy_get_next_buffer(). |
|
|
|
Definition at line 3375 of file lexlang.cpp. |
|
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. Referenced by NLAISCRIPT::yyFlexLexer::yy_get_previous_state(), NLAISCRIPT::yyFlexLexer::yy_try_NUL_trans(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
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. Referenced by NLAISCRIPT::yyFlexLexer::yy_get_previous_state(), and NLAISCRIPT::yyFlexLexer::yy_try_NUL_trans(). |
|
Definition at line 234 of file lexlang.cpp. Referenced by NLAISCRIPT::yyFlexLexer::yy_get_previous_state(), and NLAISCRIPT::yyFlexLexer::yylex(). |
|
Definition at line 101 of file lexlang.cpp. |