From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a04463.html | 1888 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1888 insertions(+) create mode 100644 docs/doxygen/nel/a04463.html (limited to 'docs/doxygen/nel/a04463.html') diff --git a/docs/doxygen/nel/a04463.html b/docs/doxygen/nel/a04463.html new file mode 100644 index 00000000..5f95d6f0 --- /dev/null +++ b/docs/doxygen/nel/a04463.html @@ -0,0 +1,1888 @@ + + +NeL: lexlang.cpp File Reference + + + +
+

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. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

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_stateYY_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
+


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. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#define EOB_ACT_CONTINUE_SCAN   0 +
+
+ + + + + +
+   + + +

+ +

+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().

+

+ + + + +
+ + +
#define EOB_ACT_END_OF_FILE   1 +
+
+ + + + + +
+   + + +

+ +

+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().

+

+ + + + +
+ + +
#define EOB_ACT_LAST_MATCH   2 +
+
+ + + + + +
+   + + +

+ +

+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().

+

+ + + + +
+ + +
#define FLEX_SCANNER +
+
+ + + + + +
+   + + +

+ +

+Definition at line 7 of file lexlang.cpp.

+

+ + + + +
+ + +
#define INITIAL   0 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 1857 of file lexlang.cpp. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#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. +

+Referenced by NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + + + +  + + +
#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. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#define YY_BUF_SIZE   16384 +
+
+ + + + + +
+   + + +

+ +

+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().

+

+ + + + +
+ + +
#define YY_BUFFER_EOF_PENDING   2 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 196 of file lexlang.cpp. +

+Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), and yy_get_next_buffer().

+

+ + + + +
+ + +
#define YY_BUFFER_NEW   0 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 184 of file lexlang.cpp. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#define YY_BUFFER_NORMAL   1 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 185 of file lexlang.cpp. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#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. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#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. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#define YY_END_OF_BUFFER   36 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 1831 of file lexlang.cpp. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#define YY_END_OF_BUFFER_CHAR   0 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 94 of file lexlang.cpp. +

+Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), yy_get_next_buffer(), and NLAISCRIPT::yyFlexLexer::yyinput().

+

+ + + + +
+ + +
#define YY_EXIT_FAILURE   2 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 3314 of file lexlang.cpp.

+

+ + + + +
+ + + + + + + +
#define YY_FATAL_ERRORmsg   )    LexerError( msg ) +
+
+ + + + + +
+   + + +

+ +

+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().

+

+ + + + +
+ + +
#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_INPUTbuf,
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. +

+Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), and yy_get_next_buffer().

+

+ + + + +
+ + +
#define YY_MORE_ADJ   0 +
+
+ + + + + +
+   + + +

+ +

+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().

+

+ + + + +
+ + +
#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. +

+Referenced by cflex(), NLAISCRIPT::yyFlexLexer::yyinput(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#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_PROTOproto   )    () +
+
+ + + + + +
+   + + +

+ +

+Definition at line 62 of file lexlang.cpp.

+

+ + + + +
+ + +
#define YY_READ_BUF_SIZE   8192 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 1927 of file lexlang.cpp. +

+Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), and yy_get_next_buffer().

+

+ + + + +
+ + +
#define YY_RULE_SETUP   YY_USER_ACTION +
+
+ + + + + +
+   + + +

+ +

+Definition at line 1982 of file lexlang.cpp. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

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

+ +

+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().

+

+ + + + +
+ + + + + + + +
#define yy_set_bolat_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_interactiveis_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. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#define YY_START_STACK_INCR   25 +
+
+ + + + + +
+   + + +

+ +

+Definition at line 1955 of file lexlang.cpp.

+

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

+ +

+Definition at line 89 of file lexlang.cpp. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#define yyconst +
+
+ + + + + +
+   + + +

+ +

+Definition at line 55 of file lexlang.cpp.

+

+ + + + +
+ + + + + + + +
#define yyless  )  +
+
+ + + + + +
+   + + +

+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.

+

+ + + + +
+ + + + + + + +
#define yyless  )  +
+
+ + + + + +
+   + + +

+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.

+

+ + + + +
+ + + + +  + + +
#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. +

+Referenced by cflex(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
#define yytext_ptr   yytext +
+
+ + + + + +
+   + + +

+ +

+Definition at line 231 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::yy_load_buffer_state(), NLAISCRIPT::yyFlexLexer::yyinput(), and NLAISCRIPT::yyFlexLexer::yylex().

+


Typedef Documentation

+

+ + + + +
+ + +
typedef struct yy_buffer_state* YY_BUFFER_STATE +
+
+ + + + + +
+   + + +

+ +

+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().

+

+ + + + +
+ + +
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

+

+ + + + +
+ + + + + + + + + +
int isatty  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void* yy_flex_alloc size   )  [static]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void* yy_flex_alloc  )  [static]
+
+ + + + + +
+   + + +

+ +

+Referenced by NLAISCRIPT::yyFlexLexer::yy_create_buffer().

+

+ + + + +
+ + + + + + + + + +
void yy_flex_free  )  [static]
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void* yy_flex_realloc  )  [static]
+
+ + + + + +
+   + + +

+ +

+Referenced by NLAISCRIPT::yyFlexLexer::yy_get_next_buffer(), and yy_get_next_buffer().

+

+ + + + +
+ + + + + + + + + +
int yywrap  ) 
+
+ + + + + +
+   + + +

+

+


Variable Documentation

+

+ + + + +
+ + +
yy_size_t size +
+
+ + + + + +
+   + + +

+ +

+Definition at line 3375 of file lexlang.cpp.

+

+ + + + +
+ + +
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. +

+Referenced by NLAISCRIPT::yyFlexLexer::yy_get_previous_state(), NLAISCRIPT::yyFlexLexer::yy_try_NUL_trans(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
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. +

+Referenced by NLAISCRIPT::yyFlexLexer::yy_get_previous_state(), and NLAISCRIPT::yyFlexLexer::yy_try_NUL_trans().

+

+ + + + +
+ + +
short yy_nxt[][256] [static] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 234 of file lexlang.cpp. +

+Referenced by NLAISCRIPT::yyFlexLexer::yy_get_previous_state(), and NLAISCRIPT::yyFlexLexer::yylex().

+

+ + + + +
+ + +
int yyleng +
+
+ + + + + +
+   + + +

+ +

+Definition at line 101 of file lexlang.cpp.

+


Generated on Tue Mar 16 06:42:52 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1