#include <FlexLexer.h>
Public Member Functions | |
| yyFlexLexer (FLEX_STD istream *arg_yyin=0, FLEX_STD ostream *arg_yyout=0) | |
| virtual | ~yyFlexLexer () |
| void | yy_switch_to_buffer (struct yy_buffer_state *new_buffer) |
| struct yy_buffer_state * | yy_create_buffer (FLEX_STD istream *s, int size) |
| void | yy_delete_buffer (struct yy_buffer_state *b) |
| void | yyrestart (FLEX_STD istream *s) |
| void | yypush_buffer_state (struct yy_buffer_state *new_buffer) |
| void | yypop_buffer_state (void) |
| virtual int | yylex () |
| virtual void | switch_streams (FLEX_STD istream *new_in, FLEX_STD ostream *new_out) |
| const char * | YYText () |
| int | YYLeng () |
| int | yylex (FLEX_STD istream *new_in, FLEX_STD ostream *new_out=0) |
| int | lineno () const |
| int | debug () const |
| void | set_debug (int flag) |
Protected Member Functions | |
| virtual int | LexerInput (char *buf, int max_size) |
| virtual void | LexerOutput (const char *buf, int size) |
| virtual void | LexerError (const char *msg) |
| void | yyunput (int c, char *buf_ptr) |
| int | yyinput () |
| void | yy_load_buffer_state () |
| void | yy_init_buffer (struct yy_buffer_state *b, FLEX_STD istream *s) |
| void | yy_flush_buffer (struct yy_buffer_state *b) |
| void | yy_push_state (int new_state) |
| void | yy_pop_state () |
| int | yy_top_state () |
| yy_state_type | yy_get_previous_state () |
| yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
| int | yy_get_next_buffer () |
| void | yyensure_buffer_stack (void) |
Protected Attributes | |
| int | yy_start_stack_ptr |
| int | yy_start_stack_depth |
| int * | yy_start_stack |
| FLEX_STD istream * | yyin |
| FLEX_STD ostream * | yyout |
| char | yy_hold_char |
| int | yy_n_chars |
| char * | yy_c_buf_p |
| int | yy_init |
| int | yy_start |
| int | yy_did_buffer_switch_on_eof |
| size_t | yy_buffer_stack_top |
| size_t | yy_buffer_stack_max |
| struct yy_buffer_state ** | yy_buffer_stack |
| yy_state_type | yy_last_accepting_state |
| char * | yy_last_accepting_cpos |
| yy_state_type * | yy_state_buf |
| yy_state_type * | yy_state_ptr |
| char * | yy_full_match |
| int * | yy_full_state |
| int | yy_full_lp |
| int | yy_lp |
| int | yy_looking_for_trail_begin |
| int | yy_more_flag |
| int | yy_more_len |
| int | yy_more_offset |
| int | yy_prev_more_offset |
| char * | yytext |
| int | yyleng |
| int | yylineno |
| int | yy_flex_debug |
| yyFlexLexer::yyFlexLexer | ( | FLEX_STD istream * | arg_yyin = 0, |
|
| FLEX_STD ostream * | arg_yyout = 0 | |||
| ) |
| yyFlexLexer::~yyFlexLexer | ( | ) | [virtual] |
References YY_CURRENT_BUFFER, yy_delete_buffer(), yy_start_stack, yy_state_buf, and yyfree().
| int FlexLexer::debug | ( | ) | const [inline, inherited] |
References FlexLexer::yy_flex_debug.
| virtual void yyFlexLexer::LexerError | ( | const char * | msg | ) | [protected, virtual] |
Referenced by yylex().
| int yyFlexLexer::LexerInput | ( | char * | buf, | |
| int | max_size | |||
| ) | [protected, virtual] |
References yyin.
| void yyFlexLexer::LexerOutput | ( | const char * | buf, | |
| int | size | |||
| ) | [protected, virtual] |
References yyout.
| int FlexLexer::lineno | ( | ) | const [inline, inherited] |
References FlexLexer::yylineno.
| void FlexLexer::set_debug | ( | int | flag | ) | [inline, inherited] |
References FlexLexer::yy_flex_debug.
| virtual void yyFlexLexer::switch_streams | ( | FLEX_STD istream * | new_in, | |
| FLEX_STD ostream * | new_out | |||
| ) | [virtual] |
Implements FlexLexer.
| struct yy_buffer_state* yyFlexLexer::yy_create_buffer | ( | FLEX_STD istream * | s, | |
| int | size | |||
| ) | [read, virtual] |
Implements FlexLexer.
| void yyFlexLexer::yy_delete_buffer | ( | struct yy_buffer_state * | b | ) | [virtual] |
Implements FlexLexer.
Referenced by yypop_buffer_state(), and ~yyFlexLexer().
| void yyFlexLexer::yy_flush_buffer | ( | struct yy_buffer_state * | b | ) | [protected] |
| int yyFlexLexer::yy_get_next_buffer | ( | ) | [protected] |
References b, Eaagles::Basic::i, yy_buffer_state::yy_buf_size, YY_BUFFER_EOF_PENDING, yy_c_buf_p, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER_LVALUE, YY_END_OF_BUFFER_CHAR, YY_FATAL_ERROR, YY_INPUT, yy_buffer_state::yy_is_our_buffer, YY_MORE_ADJ, yy_n_chars, YY_READ_BUF_SIZE, yyin, yyrealloc(), yyrestart(), and yytext_ptr.
Referenced by yyinput().
| yy_state_type yyFlexLexer::yy_get_previous_state | ( | ) | [protected] |
References yy_accept, yy_c_buf_p, yy_last_accepting_cpos, yy_last_accepting_state, yy_NUL_trans, yy_nxt, YY_SC_TO_UI, yy_start, and yytext_ptr.
| void yyFlexLexer::yy_init_buffer | ( | struct yy_buffer_state * | b, | |
| FLEX_STD istream * | s | |||
| ) | [protected] |
| void yyFlexLexer::yy_load_buffer_state | ( | ) | [protected] |
References yy_c_buf_p, YY_CURRENT_BUFFER_LVALUE, yy_hold_char, yy_n_chars, yyin, and yytext_ptr.
Referenced by yypop_buffer_state().
| void yyFlexLexer::yy_pop_state | ( | ) | [protected] |
References BEGIN, YY_FATAL_ERROR, yy_start_stack, and yy_start_stack_ptr.
| void yyFlexLexer::yy_push_state | ( | int | new_state | ) | [protected] |
References BEGIN, YY_FATAL_ERROR, yy_start_stack, yy_start_stack_depth, YY_START_STACK_INCR, yy_start_stack_ptr, yyalloc(), and yyrealloc().
| void yyFlexLexer::yy_switch_to_buffer | ( | struct yy_buffer_state * | new_buffer | ) | [virtual] |
Implements FlexLexer.
| int yyFlexLexer::yy_top_state | ( | ) | [protected] |
References yy_start_stack, and yy_start_stack_ptr.
| yy_state_type yyFlexLexer::yy_try_NUL_trans | ( | yy_state_type | current_state | ) | [protected] |
References yy_accept, yy_c_buf_p, yy_last_accepting_cpos, yy_last_accepting_state, and yy_NUL_trans.
| void yyFlexLexer::yyensure_buffer_stack | ( | void | ) | [protected] |
References yy_buffer_stack, yy_buffer_stack_max, yy_buffer_stack_top, yyalloc(), and yyrealloc().
| int yyFlexLexer::yyinput | ( | ) | [protected] |
| int FlexLexer::YYLeng | ( | ) | [inline, inherited] |
References FlexLexer::yyleng.
| int yyFlexLexer::yylex | ( | ) | [virtual] |
Implements FlexLexer.
Reimplemented in Eaagles::Basic::Lexical, and Eaagles::BasicGL::Reformat.
References LexerError().
| int FlexLexer::yylex | ( | FLEX_STD istream * | new_in, | |
| FLEX_STD ostream * | new_out = 0 | |||
| ) | [inline, inherited] |
References FlexLexer::switch_streams(), and FlexLexer::yylex().
| void yyFlexLexer::yypop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present. The next element becomes the new top.
References yy_buffer_stack_top, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_delete_buffer(), yy_did_buffer_switch_on_eof, and yy_load_buffer_state().
| void yyFlexLexer::yypush_buffer_state | ( | struct yy_buffer_state * | new_buffer | ) |
| void yyFlexLexer::yyrestart | ( | FLEX_STD istream * | s | ) | [virtual] |
| const char* FlexLexer::YYText | ( | ) | [inline, inherited] |
References FlexLexer::yytext.
| void yyFlexLexer::yyunput | ( | int | c, | |
| char * | buf_ptr | |||
| ) | [protected] |
struct yy_buffer_state** yyFlexLexer::yy_buffer_stack [protected] |
Stack as an array.
Referenced by yyensure_buffer_stack().
size_t yyFlexLexer::yy_buffer_stack_max [protected] |
capacity of stack.
Referenced by yyensure_buffer_stack().
size_t yyFlexLexer::yy_buffer_stack_top [protected] |
index of top of stack.
Referenced by yyensure_buffer_stack(), and yypop_buffer_state().
char* yyFlexLexer::yy_c_buf_p [protected] |
Referenced by yy_get_next_buffer(), yy_get_previous_state(), yy_load_buffer_state(), yy_try_NUL_trans(), and yyinput().
int yyFlexLexer::yy_did_buffer_switch_on_eof [protected] |
Referenced by yyinput(), and yypop_buffer_state().
int FlexLexer::yy_flex_debug [protected, inherited] |
Referenced by FlexLexer::debug(), and FlexLexer::set_debug().
int yyFlexLexer::yy_full_lp [protected] |
char* yyFlexLexer::yy_full_match [protected] |
int* yyFlexLexer::yy_full_state [protected] |
char yyFlexLexer::yy_hold_char [protected] |
Referenced by yy_load_buffer_state(), and yyinput().
int yyFlexLexer::yy_init [protected] |
char* yyFlexLexer::yy_last_accepting_cpos [protected] |
Referenced by yy_get_previous_state(), and yy_try_NUL_trans().
yy_state_type yyFlexLexer::yy_last_accepting_state [protected] |
Referenced by yy_get_previous_state(), and yy_try_NUL_trans().
int yyFlexLexer::yy_looking_for_trail_begin [protected] |
int yyFlexLexer::yy_lp [protected] |
int yyFlexLexer::yy_more_flag [protected] |
int yyFlexLexer::yy_more_len [protected] |
int yyFlexLexer::yy_more_offset [protected] |
int yyFlexLexer::yy_n_chars [protected] |
Referenced by yy_get_next_buffer(), yy_load_buffer_state(), and yyinput().
int yyFlexLexer::yy_prev_more_offset [protected] |
int yyFlexLexer::yy_start [protected] |
Referenced by yy_get_previous_state().
int* yyFlexLexer::yy_start_stack [protected] |
Referenced by yy_pop_state(), yy_push_state(), yy_top_state(), and ~yyFlexLexer().
int yyFlexLexer::yy_start_stack_depth [protected] |
Referenced by yy_push_state().
int yyFlexLexer::yy_start_stack_ptr [protected] |
Referenced by yy_pop_state(), yy_push_state(), and yy_top_state().
yy_state_type* yyFlexLexer::yy_state_buf [protected] |
Referenced by ~yyFlexLexer().
yy_state_type* yyFlexLexer::yy_state_ptr [protected] |
FLEX_STD istream* yyFlexLexer::yyin [protected] |
int FlexLexer::yyleng [protected, inherited] |
Referenced by FlexLexer::YYLeng().
int FlexLexer::yylineno [protected, inherited] |
Referenced by FlexLexer::lineno().
FLEX_STD ostream* yyFlexLexer::yyout [protected] |
Referenced by Eaagles::BasicGL::Reformat::formatError(), and LexerOutput().
char* FlexLexer::yytext [protected, inherited] |
Referenced by FlexLexer::YYText().
1.7.1