|
g2o
|
#include <FlexLexer.h>


Public Member Functions | |
| yyFlexLexer (std::istream &arg_yyin, std::ostream &arg_yyout) | |
| yyFlexLexer (std::istream *arg_yyin=0, std::ostream *arg_yyout=0) | |
| virtual | ~yyFlexLexer () |
| void | yy_switch_to_buffer (yy_buffer_state *new_buffer) |
| yy_buffer_state * | yy_create_buffer (std::istream *s, int size) |
| yy_buffer_state * | yy_create_buffer (std::istream &s, int size) |
| void | yy_delete_buffer (yy_buffer_state *b) |
| void | yyrestart (std::istream *s) |
| void | yyrestart (std::istream &s) |
| void | yypush_buffer_state (yy_buffer_state *new_buffer) |
| void | yypop_buffer_state () |
| virtual int | yylex () |
| virtual void | switch_streams (std::istream &new_in, std::ostream &new_out) |
| virtual void | switch_streams (std::istream *new_in=0, std::ostream *new_out=0) |
| virtual int | yywrap () |
Public Member Functions inherited from FlexLexer | |
| virtual | ~FlexLexer () |
| const char * | YYText () const |
| int | YYLeng () const |
| int | yylex (std::istream &new_in, std::ostream &new_out) |
| int | yylex (std::istream *new_in, 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 (yy_buffer_state *b, std::istream &s) |
| void | yy_flush_buffer (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 |
| std::istream | yyin |
| 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 |
| 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 |
Protected Attributes inherited from FlexLexer | |
| char * | yytext |
| int | yyleng |
| int | yylineno |
| int | yy_flex_debug |
Private Member Functions | |
| void | ctor_common () |
Definition at line 112 of file FlexLexer.h.
| yyFlexLexer::yyFlexLexer | ( | std::istream & | arg_yyin, |
| std::ostream & | arg_yyout | ||
| ) |
Definition at line 895 of file flex_scanner.cpp.
References ctor_common(), and yyFlexLexer().
Referenced by yyFlexLexer(), and yyFlexLexer().
| yyFlexLexer::yyFlexLexer | ( | std::istream * | arg_yyin = 0, |
| std::ostream * | arg_yyout = 0 |
||
| ) |
Definition at line 887 of file flex_scanner.cpp.
References ctor_common(), and yyFlexLexer().
|
virtual |
Definition at line 928 of file flex_scanner.cpp.
References yy_buffer_stack, YY_CURRENT_BUFFER, yy_delete_buffer(), yy_start_stack, yy_state_buf, yyfree, and ~yyFlexLexer().
Referenced by ~yyFlexLexer().
|
private |
Definition at line 902 of file flex_scanner.cpp.
References ctor_common(), yy_buffer_stack, yy_buffer_stack_max, yy_buffer_stack_top, yy_c_buf_p, yy_did_buffer_switch_on_eof, yy_flex_debug, yy_init, yy_looking_for_trail_begin, yy_more_flag, yy_more_len, yy_more_offset, yy_prev_more_offset, yy_start, yy_start_stack, yy_start_stack_depth, yy_start_stack_ptr, yy_state_buf, and FlexLexer::yylineno.
Referenced by ctor_common(), yyFlexLexer(), and yyFlexLexer().
|
protectedvirtual |
Definition at line 1555 of file flex_scanner.cpp.
References LexerError(), and YY_EXIT_FAILURE.
Referenced by LexerError(), and yywrap().
|
protectedvirtual |
Definition at line 963 of file flex_scanner.cpp.
References LexerInput().
Referenced by LexerInput(), and yywrap().
|
protectedvirtual |
Definition at line 987 of file flex_scanner.cpp.
References LexerOutput(), and yyout.
Referenced by LexerOutput(), and yywrap().
|
virtual |
Implements FlexLexer.
Definition at line 937 of file flex_scanner.cpp.
References switch_streams(), YY_BUF_SIZE, yy_create_buffer(), YY_CURRENT_BUFFER, yy_delete_buffer(), yy_switch_to_buffer(), and yyout.
Referenced by switch_streams(), switch_streams(), and yylex().
|
virtual |
Implements FlexLexer.
Definition at line 948 of file flex_scanner.cpp.
References switch_streams(), yyin, and yyout.
|
virtual |
Allocate and initialize an input buffer state.
| file | A readable stream. |
| size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE. |
Implements FlexLexer.
Definition at line 1331 of file flex_scanner.cpp.
References yy_buffer_state::yy_buf_size, yy_buffer_state::yy_ch_buf, yy_create_buffer(), YY_FATAL_ERROR, yy_init_buffer(), yy_buffer_state::yy_is_our_buffer, and yyalloc.
|
virtual |
Delegate creation of buffers to the new version that takes an istream reference.
| file | A readable stream. |
| size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE. |
Implements FlexLexer.
Definition at line 1361 of file flex_scanner.cpp.
References yy_create_buffer().
Referenced by switch_streams(), yy_create_buffer(), yy_create_buffer(), and yyrestart().
|
virtual |
Destroy the buffer.
| b | a buffer created with yy_create_buffer() |
Implements FlexLexer.
Definition at line 1369 of file flex_scanner.cpp.
References yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_delete_buffer(), yy_buffer_state::yy_is_our_buffer, and yyfree.
Referenced by switch_streams(), yy_delete_buffer(), yypop_buffer_state(), and ~yyFlexLexer().
|
protected |
Discard all buffered characters. On the next scan, YY_INPUT will be called.
| b | the buffer state to be flushed, usually YY_CURRENT_BUFFER. |
Definition at line 1411 of file flex_scanner.cpp.
References yy_buffer_state::yy_at_bol, yy_buffer_state::yy_buf_pos, YY_BUFFER_NEW, yy_buffer_state::yy_buffer_status, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_END_OF_BUFFER_CHAR, yy_flush_buffer(), yy_load_buffer_state(), and yy_buffer_state::yy_n_chars.
Referenced by yy_flush_buffer(), yy_init_buffer(), and yywrap().
|
protected |
Definition at line 998 of file flex_scanner.cpp.
References EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, 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_get_next_buffer(), 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 yy_get_next_buffer(), and yyinput().
|
protected |
Definition at line 1117 of file flex_scanner.cpp.
References yy_accept, yy_base, yy_c_buf_p, yy_chk, yy_cp, yy_def, yy_ec, yy_get_previous_state(), yy_last_accepting_cpos, yy_last_accepting_state, yy_meta, YY_MORE_ADJ, yy_nxt, YY_SC_TO_UI, yy_start, and yytext_ptr.
Referenced by yy_get_previous_state().
|
protected |
Definition at line 1384 of file flex_scanner.cpp.
References yy_buffer_state::yy_bs_column, yy_buffer_state::yy_bs_lineno, YY_CURRENT_BUFFER, yy_buffer_state::yy_fill_buffer, yy_flush_buffer(), yy_init_buffer(), yy_buffer_state::yy_input_file, and yy_buffer_state::yy_is_interactive.
Referenced by yy_create_buffer(), yy_init_buffer(), yyrestart(), and yywrap().
|
protected |
Definition at line 1317 of file flex_scanner.cpp.
References yy_c_buf_p, YY_CURRENT_BUFFER_LVALUE, yy_hold_char, yy_load_buffer_state(), yy_n_chars, yyin, and yytext_ptr.
Referenced by yy_flush_buffer(), yy_load_buffer_state(), yy_switch_to_buffer(), yypop_buffer_state(), yypush_buffer_state(), yyrestart(), and yywrap().
|
protected |
Definition at line 1540 of file flex_scanner.cpp.
References BEGIN, YY_FATAL_ERROR, yy_pop_state(), yy_start_stack, and yy_start_stack_ptr.
Referenced by yy_pop_state().
|
protected |
Definition at line 1518 of file flex_scanner.cpp.
References BEGIN, YY_FATAL_ERROR, yy_push_state(), YY_START, yy_start_stack, yy_start_stack_depth, YY_START_STACK_INCR, yy_start_stack_ptr, yyalloc, and yyrealloc.
Referenced by yy_push_state().
|
virtual |
Switch to a different input buffer.
| new_buffer | The new input buffer. |
Implements FlexLexer.
Definition at line 1290 of file flex_scanner.cpp.
References yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, yy_hold_char, yy_load_buffer_state(), yy_n_chars, yy_switch_to_buffer(), and yyensure_buffer_stack().
Referenced by switch_streams(), and yy_switch_to_buffer().
|
protected |
Definition at line 1547 of file flex_scanner.cpp.
References yy_start_stack, yy_start_stack_ptr, and yy_top_state().
Referenced by yy_top_state().
|
protected |
Definition at line 1144 of file flex_scanner.cpp.
References yy_accept, yy_base, yy_c_buf_p, yy_chk, yy_cp, yy_def, yy_last_accepting_cpos, yy_last_accepting_state, yy_meta, yy_nxt, and yy_try_NUL_trans().
Referenced by yy_try_NUL_trans().
|
protected |
Definition at line 1479 of file flex_scanner.cpp.
References yy_buffer_stack, yy_buffer_stack_max, yy_buffer_stack_top, YY_FATAL_ERROR, yyalloc, yyensure_buffer_stack(), and yyrealloc.
Referenced by yy_switch_to_buffer(), yyensure_buffer_stack(), yypush_buffer_state(), and yyrestart().
|
protected |
Definition at line 1199 of file flex_scanner.cpp.
References EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, yy_c_buf_p, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, YY_END_OF_BUFFER_CHAR, yy_get_next_buffer(), yy_hold_char, yy_n_chars, YY_NEW_FILE, yyin, yyinput(), yyrestart(), yytext_ptr, and yywrap().
|
virtual |
Implements FlexLexer.
References switch_streams().
| void yyFlexLexer::yypop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present. The next element becomes the new top.
Definition at line 1463 of file flex_scanner.cpp.
References yy_buffer_stack_top, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_delete_buffer(), yy_did_buffer_switch_on_eof, yy_load_buffer_state(), and yypop_buffer_state().
Referenced by yypop_buffer_state().
| void yyFlexLexer::yypush_buffer_state | ( | yy_buffer_state * | new_buffer | ) |
Pushes the new state onto the stack. The new state becomes the current state. This function will allocate the stack if necessary.
| new_buffer | The new state. |
Definition at line 1437 of file flex_scanner.cpp.
References yy_buffer_stack_top, yy_c_buf_p, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_did_buffer_switch_on_eof, yy_hold_char, yy_load_buffer_state(), yy_n_chars, yyensure_buffer_stack(), and yypush_buffer_state().
Referenced by yypush_buffer_state().
|
virtual |
Immediately switch to a different input stream.
| input_file | A readable stream. |
INITIAL . Implements FlexLexer.
Definition at line 1264 of file flex_scanner.cpp.
References YY_BUF_SIZE, yy_create_buffer(), YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init_buffer(), yy_load_buffer_state(), yyensure_buffer_stack(), yyin, and yyrestart().
|
virtual |
Delegate to the new version that takes an istream reference.
| input_file | A readable stream. |
INITIAL . Implements FlexLexer.
Definition at line 1279 of file flex_scanner.cpp.
References yyin, and yyrestart().
Referenced by yy_get_next_buffer(), yyinput(), yyrestart(), and yyrestart().
|
protected |
Definition at line 1164 of file flex_scanner.cpp.
References yy_bp, yy_c_buf_p, yy_cp, YY_CURRENT_BUFFER_LVALUE, YY_FATAL_ERROR, yy_hold_char, yy_n_chars, yytext_ptr, and yyunput().
|
virtual |
References LexerError(), LexerInput(), LexerOutput(), yy_flush_buffer(), yy_init_buffer(), yy_load_buffer_state(), yyinput(), and yyunput().
Referenced by yyinput().
|
protected |
Stack as an array.
Definition at line 186 of file FlexLexer.h.
Referenced by ctor_common(), yyensure_buffer_stack(), and ~yyFlexLexer().
|
protected |
capacity of stack.
Definition at line 185 of file FlexLexer.h.
Referenced by ctor_common(), and yyensure_buffer_stack().
|
protected |
index of top of stack.
Definition at line 184 of file FlexLexer.h.
Referenced by ctor_common(), yyensure_buffer_stack(), yypop_buffer_state(), and yypush_buffer_state().
|
protected |
Definition at line 175 of file FlexLexer.h.
Referenced by ctor_common(), yy_get_next_buffer(), yy_get_previous_state(), yy_load_buffer_state(), yy_switch_to_buffer(), yy_try_NUL_trans(), yyinput(), yypush_buffer_state(), and yyunput().
|
protected |
Definition at line 182 of file FlexLexer.h.
Referenced by ctor_common(), yy_switch_to_buffer(), yyinput(), yypop_buffer_state(), and yypush_buffer_state().
|
protected |
Definition at line 200 of file FlexLexer.h.
|
protected |
Definition at line 198 of file FlexLexer.h.
|
protected |
Definition at line 199 of file FlexLexer.h.
|
protected |
Definition at line 169 of file FlexLexer.h.
Referenced by yy_load_buffer_state(), yy_switch_to_buffer(), yyinput(), yypush_buffer_state(), and yyunput().
|
protected |
Definition at line 177 of file FlexLexer.h.
Referenced by ctor_common().
|
protected |
Definition at line 193 of file FlexLexer.h.
Referenced by yy_get_previous_state(), and yy_try_NUL_trans().
|
protected |
Definition at line 192 of file FlexLexer.h.
Referenced by yy_get_previous_state(), and yy_try_NUL_trans().
|
protected |
Definition at line 203 of file FlexLexer.h.
Referenced by ctor_common().
|
protected |
Definition at line 202 of file FlexLexer.h.
|
protected |
Definition at line 205 of file FlexLexer.h.
Referenced by ctor_common().
|
protected |
Definition at line 206 of file FlexLexer.h.
Referenced by ctor_common().
|
protected |
Definition at line 207 of file FlexLexer.h.
Referenced by ctor_common().
|
protected |
Definition at line 172 of file FlexLexer.h.
Referenced by yy_get_next_buffer(), yy_load_buffer_state(), yy_switch_to_buffer(), yyinput(), yypush_buffer_state(), and yyunput().
|
protected |
Definition at line 208 of file FlexLexer.h.
Referenced by ctor_common().
|
protected |
Definition at line 178 of file FlexLexer.h.
Referenced by ctor_common(), and yy_get_previous_state().
|
protected |
Definition at line 155 of file FlexLexer.h.
Referenced by ctor_common(), yy_pop_state(), yy_push_state(), yy_top_state(), and ~yyFlexLexer().
|
protected |
Definition at line 154 of file FlexLexer.h.
Referenced by ctor_common(), and yy_push_state().
|
protected |
Definition at line 153 of file FlexLexer.h.
Referenced by ctor_common(), yy_pop_state(), yy_push_state(), and yy_top_state().
|
protected |
Definition at line 195 of file FlexLexer.h.
Referenced by ctor_common(), and ~yyFlexLexer().
|
protected |
Definition at line 196 of file FlexLexer.h.
|
protected |
Definition at line 165 of file FlexLexer.h.
Referenced by switch_streams(), yy_get_next_buffer(), yy_load_buffer_state(), yyinput(), yyrestart(), and yyrestart().
|
protected |
Definition at line 166 of file FlexLexer.h.
Referenced by LexerOutput(), switch_streams(), and switch_streams().