g2o
|
#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 () |
virtual int | yylex () |
virtual void | switch_streams (FLEX_STD istream *new_in, FLEX_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 (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 |
Protected Attributes inherited from FlexLexer | |
char * | yytext |
int | yyleng |
int | yylineno |
int | yy_flex_debug |
Definition at line 112 of file FlexLexer.h.
Definition at line 966 of file flex_scanner.cpp.
|
virtual |
Definition at line 996 of file flex_scanner.cpp.
References Slamfree(), and YY_CURRENT_BUFFER.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Definition at line 1048 of file flex_scanner.cpp.
|
virtual |
Implements FlexLexer.
Definition at line 1006 of file flex_scanner.cpp.
References LexerInput(), YY_BUF_SIZE, and YY_CURRENT_BUFFER.
|
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 1420 of file flex_scanner.cpp.
References Slamalloc(), yy_buffer_state::yy_buf_size, yy_buffer_state::yy_ch_buf, YY_FATAL_ERROR, and yy_buffer_state::yy_is_our_buffer.
|
virtual |
Destroy the buffer.
b | a buffer created with yy_create_buffer() |
Implements FlexLexer.
Definition at line 1448 of file flex_scanner.cpp.
References isatty(), Slamfree(), yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, and yy_buffer_state::yy_is_our_buffer.
|
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 1496 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, and yy_buffer_state::yy_n_chars.
|
protected |
Definition at line 1060 of file flex_scanner.cpp.
References EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, Slamrealloc(), yy_buffer_state::yy_buf_size, YY_BUFFER_EOF_PENDING, yy_buffer_state::yy_ch_buf, YY_CURRENT_BUFFER, 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_buffer_state::yy_n_chars, YY_READ_BUF_SIZE, and yytext_ptr.
|
protected |
Definition at line 1194 of file flex_scanner.cpp.
References yy_accept, yy_base, yy_chk, yy_cp, yy_def, yy_ec, yy_meta, YY_MORE_ADJ, yy_nxt, YY_SC_TO_UI, and yytext_ptr.
|
protected |
Definition at line 1469 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_buffer_state::yy_input_file, and yy_buffer_state::yy_is_interactive.
|
protected |
Definition at line 1406 of file flex_scanner.cpp.
References YY_CURRENT_BUFFER_LVALUE, yy_buffer_state::yy_n_chars, and yytext_ptr.
|
protected |
|
protected |
Definition at line 1617 of file flex_scanner.cpp.
References BEGIN, Slamalloc(), Slamrealloc(), YY_FATAL_ERROR, YY_START, and YY_START_STACK_INCR.
|
virtual |
Switch to a different input buffer.
new_buffer | The new input buffer. |
Implements FlexLexer.
Definition at line 1375 of file flex_scanner.cpp.
References YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, and yy_buffer_state::yy_n_chars.
|
protected |
Definition at line 1649 of file flex_scanner.cpp.
|
protected |
Definition at line 1226 of file flex_scanner.cpp.
References yy_accept, yy_base, yy_chk, yy_def, yy_meta, and yy_nxt.
|
protected |
Definition at line 1574 of file flex_scanner.cpp.
References Slamalloc(), Slamrealloc(), and YY_FATAL_ERROR.
|
protected |
Definition at line 1286 of file flex_scanner.cpp.
References EOB_ACT_CONTINUE_SCAN, EOB_ACT_END_OF_FILE, EOB_ACT_LAST_MATCH, YY_CURRENT_BUFFER_LVALUE, YY_END_OF_BUFFER_CHAR, yy_buffer_state::yy_n_chars, YY_NEW_FILE, and yytext_ptr.
|
virtual |
Implements FlexLexer.
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 1555 of file flex_scanner.cpp.
References YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.
void yyFlexLexer::yypush_buffer_state | ( | struct 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 1525 of file flex_scanner.cpp.
References YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, and yy_buffer_state::yy_n_chars.
|
virtual |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. Implements FlexLexer.
Definition at line 1358 of file flex_scanner.cpp.
References YY_BUF_SIZE, YY_CURRENT_BUFFER, and YY_CURRENT_BUFFER_LVALUE.
|
protected |
Definition at line 1249 of file flex_scanner.cpp.
References if(), yy_buffer_state::yy_ch_buf, yy_cp, YY_CURRENT_BUFFER_LVALUE, YY_FATAL_ERROR, yy_buffer_state::yy_n_chars, and yytext_ptr.
|
virtual |
|
protected |
Stack as an array.
Definition at line 178 of file FlexLexer.h.
|
protected |
capacity of stack.
Definition at line 177 of file FlexLexer.h.
|
protected |
index of top of stack.
Definition at line 176 of file FlexLexer.h.
|
protected |
Definition at line 166 of file FlexLexer.h.
|
protected |
Definition at line 173 of file FlexLexer.h.
|
protected |
Definition at line 192 of file FlexLexer.h.
|
protected |
Definition at line 190 of file FlexLexer.h.
|
protected |
Definition at line 191 of file FlexLexer.h.
|
protected |
Definition at line 160 of file FlexLexer.h.
|
protected |
Definition at line 168 of file FlexLexer.h.
|
protected |
Definition at line 185 of file FlexLexer.h.
|
protected |
Definition at line 184 of file FlexLexer.h.
|
protected |
Definition at line 195 of file FlexLexer.h.
|
protected |
Definition at line 194 of file FlexLexer.h.
|
protected |
Definition at line 197 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 163 of file FlexLexer.h.
|
protected |
Definition at line 200 of file FlexLexer.h.
|
protected |
Definition at line 169 of file FlexLexer.h.
|
protected |
Definition at line 146 of file FlexLexer.h.
|
protected |
Definition at line 145 of file FlexLexer.h.
|
protected |
Definition at line 144 of file FlexLexer.h.
|
protected |
Definition at line 187 of file FlexLexer.h.
|
protected |
Definition at line 188 of file FlexLexer.h.
|
protected |
Definition at line 156 of file FlexLexer.h.
|
protected |
Definition at line 157 of file FlexLexer.h.