XINU
|
flexにより生成された字句解析 More...
Go to the source code of this file.
Data Structures | |
struct | yy_buffer_state |
struct | yy_trans_info |
Typedefs | |
typedef short int | flex_int16_t |
typedef int | flex_int32_t |
typedef signed char | flex_int8_t |
typedef unsigned short int | flex_uint16_t |
typedef unsigned int | flex_uint32_t |
typedef unsigned char | flex_uint8_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef flex_uint8_t | YY_CHAR |
typedef size_t | yy_size_t |
typedef int | yy_state_type |
Functions | |
if (!(yy_init)) | |
static int | input (void) |
YY_BUFFER_STATE | yy_create_buffer (FILE *file, int size) |
void | yy_delete_buffer (YY_BUFFER_STATE b) |
static void yynoreturn | yy_fatal_error (const char *msg) |
void | yy_flush_buffer (YY_BUFFER_STATE b) |
static int | yy_get_next_buffer (void) |
static yy_state_type | yy_get_previous_state (void) |
static void | yy_init_buffer (YY_BUFFER_STATE b, FILE *file) |
static int | yy_init_globals (void) |
static void | yy_load_buffer_state (void) |
YY_BUFFER_STATE | yy_scan_buffer (char *base, yy_size_t size) |
YY_BUFFER_STATE | yy_scan_bytes (const char *bytes, int len) |
YY_BUFFER_STATE | yy_scan_string (const char *yy_str) |
void | yy_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
static yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
void * | yyalloc (yy_size_t) |
static void | yyensure_buffer_stack (void) |
void | yyfree (void *) |
int | yyget_debug (void) |
YY_EXTRA_TYPE | yyget_extra (void) |
FILE * | yyget_in (void) |
int | yyget_leng (void) |
int | yyget_lineno (void) |
FILE * | yyget_out (void) |
char * | yyget_text (void) |
int | yylex (void) |
int | yylex_destroy (void) |
void | yypop_buffer_state (void) |
void | yypush_buffer_state (YY_BUFFER_STATE new_buffer) |
void * | yyrealloc (void *, yy_size_t) |
void | yyrestart (FILE *input_file) |
void | yyset_debug (int debug_flag) |
void | yyset_extra (YY_EXTRA_TYPE user_defined) |
void | yyset_in (FILE *_in_str) |
void | yyset_lineno (int _line_number) |
void | yyset_out (FILE *_out_str) |
static void | yyunput (int c, char *buf_ptr) |
int | yywrap (void) |
Variables | |
int | brkcount |
int | linectr |
int | skipping |
static const flex_int16_t | yy_accept [60] |
int | yy_act |
static const flex_int16_t | yy_base [62] |
char * | yy_bp |
static YY_BUFFER_STATE * | yy_buffer_stack = NULL |
static size_t | yy_buffer_stack_max = 0 |
static size_t | yy_buffer_stack_top = 0 |
static char * | yy_c_buf_p = NULL |
static const flex_int16_t | yy_chk [99] |
char * | yy_cp |
YY_DECL | |
static const flex_int16_t | yy_def [62] |
static int | yy_did_buffer_switch_on_eof |
static const YY_CHAR | yy_ec [256] |
int | yy_flex_debug = 0 |
static char | yy_hold_char |
static int | yy_init = 0 |
static char * | yy_last_accepting_cpos |
static yy_state_type | yy_last_accepting_state |
static const YY_CHAR | yy_meta [27] |
static int | yy_n_chars |
static const flex_int16_t | yy_nxt [99] |
static int | yy_start = 0 |
FILE * | yyin = NULL |
int | yyleng |
int | yylineno = 1 |
FILE * | yyout = NULL |
char * | yytext |
flexにより生成された字句解析
Definition in file lex.yy.c.
#define ECHO |
#define unput | ( | c | ) | yyunput(c, (yytext_ptr)) |
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
#define YY_CURRENT_BUFFER |
Definition at line 262 of file lex.yy.c.
Referenced by if().
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
#define YY_DO_BEFORE_ACTION |
Definition at line 352 of file lex.yy.c.
Referenced by if().
#define YY_EXIT_FAILURE 2 |
Referenced by if().
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error(msg) |
#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER) |
#define YY_INPUT | ( | buf, | |
result, | |||
max_size | |||
) |
Definition at line 593 of file lex.yy.c.
Referenced by if().
#define yy_new_buffer yy_create_buffer |
#define YY_RULE_SETUP YY_USER_ACTION |
#define YY_SC_TO_UI | ( | c | ) | ((YY_CHAR)(c)) |
#define yy_set_bol | ( | at_bol | ) |
#define yy_set_interactive | ( | is_interactive | ) |
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
#define yyless | ( | n | ) |
#define yyless | ( | n | ) |
#define YYTABLES_NAME "yytables" |
typedef short int flex_int16_t |
typedef int flex_int32_t |
typedef signed char flex_int8_t |
typedef unsigned short int flex_uint16_t |
typedef unsigned int flex_uint32_t |
typedef unsigned char flex_uint8_t |
typedef struct yy_buffer_state* YY_BUFFER_STATE |
typedef flex_uint8_t YY_CHAR |
typedef int yy_state_type |
if | ( | ! | yy_init | ) |
Definition at line 679 of file lex.yy.c.
References brkcount, CLOSE, COLON, CONTROL, CSR, DEFBRK, ECHO, EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, exit(), fprintf(), free(), GETC, IDENT, INIT, INITIAL, input(), INTEGER, INTR, IRQ, IS, linectr, malloc(), memset(), NULL, ON, OPEN, PUTC, READ, SEEK, skipping, stderr, stdin, stdout, strlen(), WRITE, yy_accept, yy_buffer_state::yy_at_bol, yy_base, YY_BREAK, yy_buffer_state::yy_bs_column, yy_buffer_state::yy_bs_lineno, yy_buffer_state::yy_buf_pos, YY_BUF_SIZE, yy_buffer_state::yy_buf_size, YY_BUFFER_EOF_PENDING, YY_BUFFER_NEW, YY_BUFFER_NORMAL, yy_buffer_stack, yy_buffer_stack_max, yy_buffer_stack_top, yy_buffer_state::yy_buffer_status, yy_c_buf_p, yy_buffer_state::yy_ch_buf, yy_chk, yy_cp, yy_create_buffer(), YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_def, yy_delete_buffer(), yy_did_buffer_switch_on_eof, YY_DO_BEFORE_ACTION, yy_ec, YY_END_OF_BUFFER, YY_END_OF_BUFFER_CHAR, YY_EXIT_FAILURE, yy_fatal_error(), YY_FATAL_ERROR, yy_buffer_state::yy_fill_buffer, yy_flex_debug, yy_flush_buffer(), yy_get_next_buffer(), yy_get_previous_state(), yy_hold_char, yy_init, yy_init_buffer(), yy_init_globals(), YY_INPUT, yy_buffer_state::yy_input_file, yy_buffer_state::yy_is_interactive, yy_buffer_state::yy_is_our_buffer, yy_last_accepting_cpos, yy_last_accepting_state, yy_load_buffer_state(), yy_meta, YY_MORE_ADJ, yy_buffer_state::yy_n_chars, YY_NEW_FILE, yy_nxt, YY_READ_BUF_SIZE, YY_RESTORE_YY_MORE_OFFSET, YY_RULE_SETUP, YY_SC_TO_UI, yy_scan_buffer(), yy_scan_bytes(), yy_scan_string(), YY_START, yy_start, YY_STATE_EOF, yy_switch_to_buffer(), yy_try_NUL_trans(), yyalloc(), yyensure_buffer_stack(), yyfree(), yyget_debug(), yyget_in(), yyget_leng(), yyget_lineno(), yyget_out(), yyget_text(), yyin, yyleng, yylex_destroy(), yylineno, yynoreturn, yyout, yypop_buffer_state(), yypush_buffer_state(), yyrealloc(), yyrestart(), yyset_debug(), yyset_in(), yyset_lineno(), yyset_out(), yyterminate, yytext, yytext_ptr, yyunput(), and yywrap().
Referenced by ttyhandler(), udp_recv(), and udp_recvaddr().
|
static |
YY_BUFFER_STATE yy_create_buffer | ( | FILE * | file, |
int | size | ||
) |
void yy_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
|
static |
void yy_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
YY_BUFFER_STATE yy_scan_buffer | ( | char * | base, |
yy_size_t | size | ||
) |
YY_BUFFER_STATE yy_scan_bytes | ( | const char * | bytes, |
int | len | ||
) |
YY_BUFFER_STATE yy_scan_string | ( | const char * | yy_str | ) |
void yy_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
|
static |
|
static |
void yyfree | ( | void * | ) |
int yyget_debug | ( | void | ) |
YY_EXTRA_TYPE yyget_extra | ( | void | ) |
FILE* yyget_in | ( | void | ) |
int yyget_leng | ( | void | ) |
int yyget_lineno | ( | void | ) |
FILE* yyget_out | ( | void | ) |
char* yyget_text | ( | void | ) |
int yylex | ( | void | ) |
int yylex_destroy | ( | void | ) |
void yypop_buffer_state | ( | void | ) |
void yypush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
void* yyrealloc | ( | void * | , |
yy_size_t | |||
) |
void yyrestart | ( | FILE * | input_file | ) |
void yyset_debug | ( | int | debug_flag | ) |
void yyset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
void yyset_in | ( | FILE * | _in_str | ) |
void yyset_lineno | ( | int | _line_number | ) |
void yyset_out | ( | FILE * | _out_str | ) |
|
static |
int yywrap | ( | void | ) |
int linectr |
|
static |
|
static |
Definition at line 413 of file lex.yy.c.
Referenced by if().
|
static |
|
static |
|
static |
|
static |
Definition at line 448 of file lex.yy.c.
Referenced by if().
YY_DECL |
The main scanner function which does all the work.
|
static |
Definition at line 423 of file lex.yy.c.
Referenced by if().
|
static |
Definition at line 376 of file lex.yy.c.
Referenced by if().
|
static |
|
static |
|
static |
Definition at line 433 of file lex.yy.c.
Referenced by if().