#include <FlexLexer.h>
◆ yyFlexLexer()
| yyFlexLexer::yyFlexLexer |
( |
std::istream * |
arg_yyin = nullptr, |
|
|
std::ostream * |
arg_yyout = nullptr |
|
) |
| |
|
explicit |
◆ ~yyFlexLexer()
| yyFlexLexer::~yyFlexLexer |
( |
| ) |
|
|
override |
◆ LexerError()
| void yyFlexLexer::LexerError |
( |
const char * |
msg | ) |
|
|
protectedvirtual |
◆ LexerInput()
| int yyFlexLexer::LexerInput |
( |
char * |
buf, |
|
|
int |
max_size |
|
) |
| |
|
protectedvirtual |
◆ LexerOutput()
| void yyFlexLexer::LexerOutput |
( |
const char * |
buf, |
|
|
int |
size |
|
) |
| |
|
protectedvirtual |
◆ switch_streams()
| void yyFlexLexer::switch_streams |
( |
std::istream * |
new_in, |
|
|
std::ostream * |
new_out = nullptr |
|
) |
| |
|
overridevirtual |
◆ yy_create_buffer()
| YY_BUFFER_STATE yyFlexLexer::yy_create_buffer |
( |
std::istream * |
file, |
|
|
int |
size |
|
) |
| |
|
overridevirtual |
Allocate and initialize an input buffer state.
- Parameters
-
| file | A readable stream. |
| size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE. |
- Returns
- the allocated buffer state.
Implements FlexLexer.
◆ yy_delete_buffer()
Destroy the buffer.
- Parameters
-
Implements FlexLexer.
◆ yy_flush_buffer()
Discard all buffered characters. On the next scan, YY_INPUT will be called.
- Parameters
-
| b | the buffer state to be flushed, usually YY_CURRENT_BUFFER. |
◆ yy_get_next_buffer()
| int yyFlexLexer::yy_get_next_buffer |
( |
| ) |
|
|
protected |
◆ yy_get_previous_state()
◆ yy_init_buffer()
| void yyFlexLexer::yy_init_buffer |
( |
struct yy_buffer_state * |
b, |
|
|
std::istream * |
file |
|
) |
| |
|
protected |
◆ yy_load_buffer_state()
| void yyFlexLexer::yy_load_buffer_state |
( |
| ) |
|
|
protected |
◆ yy_pop_state()
| void yyFlexLexer::yy_pop_state |
( |
| ) |
|
|
protected |
◆ yy_push_state()
| void yyFlexLexer::yy_push_state |
( |
int |
new_state | ) |
|
|
protected |
◆ yy_switch_to_buffer()
| void yyFlexLexer::yy_switch_to_buffer |
( |
struct yy_buffer_state * |
new_buffer | ) |
|
|
overridevirtual |
Switch to a different input buffer.
- Parameters
-
| new_buffer | The new input buffer. |
Implements FlexLexer.
◆ yy_top_state()
| int yyFlexLexer::yy_top_state |
( |
| ) |
|
|
protected |
◆ yy_try_NUL_trans()
◆ yyensure_buffer_stack()
| void yyFlexLexer::yyensure_buffer_stack |
( |
void |
| ) |
|
|
protected |
◆ yyinput()
| int yyFlexLexer::yyinput |
( |
| ) |
|
|
protected |
◆ yylex()
| int yyFlexLexer::yylex |
( |
| ) |
|
|
overridevirtual |
◆ yypop_buffer_state()
| void yyFlexLexer::yypop_buffer_state |
( |
void |
| ) |
|
Removes and deletes the top of the stack, if present. The next element becomes the new top.
◆ yypush_buffer_state()
| 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.
- Parameters
-
◆ yyrestart()
| void yyFlexLexer::yyrestart |
( |
std::istream * |
input_file | ) |
|
|
overridevirtual |
Immediately switch to a different input stream.
- Parameters
-
| input_file | A readable stream. |
- Note
- This function does not reset the start condition to
INITIAL .
Implements FlexLexer.
◆ yyunput()
| void yyFlexLexer::yyunput |
( |
int |
c, |
|
|
char * |
yy_bp |
|
) |
| |
|
protected |
◆ yywrap()
| virtual int yyFlexLexer::yywrap |
( |
| ) |
|
|
virtual |
◆ yy_buffer_stack
◆ yy_buffer_stack_max
| size_t yyFlexLexer::yy_buffer_stack_max |
|
protected |
◆ yy_buffer_stack_top
| size_t yyFlexLexer::yy_buffer_stack_top |
|
protected |
◆ yy_c_buf_p
| char* yyFlexLexer::yy_c_buf_p |
|
protected |
◆ yy_did_buffer_switch_on_eof
| int yyFlexLexer::yy_did_buffer_switch_on_eof |
|
protected |
◆ yy_full_lp
| int yyFlexLexer::yy_full_lp |
|
protected |
◆ yy_full_match
| char* yyFlexLexer::yy_full_match |
|
protected |
◆ yy_full_state
| int* yyFlexLexer::yy_full_state |
|
protected |
◆ yy_hold_char
| char yyFlexLexer::yy_hold_char |
|
protected |
◆ yy_init
◆ yy_last_accepting_cpos
| char* yyFlexLexer::yy_last_accepting_cpos |
|
protected |
◆ yy_last_accepting_state
◆ yy_looking_for_trail_begin
| int yyFlexLexer::yy_looking_for_trail_begin |
|
protected |
◆ yy_lp
◆ yy_more_flag
| int yyFlexLexer::yy_more_flag |
|
protected |
◆ yy_more_len
| int yyFlexLexer::yy_more_len |
|
protected |
◆ yy_more_offset
| int yyFlexLexer::yy_more_offset |
|
protected |
◆ yy_n_chars
| int yyFlexLexer::yy_n_chars |
|
protected |
◆ yy_prev_more_offset
| int yyFlexLexer::yy_prev_more_offset |
|
protected |
◆ yy_start
| int yyFlexLexer::yy_start |
|
protected |
◆ yy_start_stack
| int* yyFlexLexer::yy_start_stack |
|
protected |
◆ yy_start_stack_depth
| int yyFlexLexer::yy_start_stack_depth |
|
protected |
◆ yy_start_stack_ptr
| int yyFlexLexer::yy_start_stack_ptr |
|
protected |
◆ yy_state_buf
◆ yy_state_ptr
◆ yyin
| std::istream* yyFlexLexer::yyin |
|
protected |
◆ yyout
| std::ostream* yyFlexLexer::yyout |
|
protected |
The documentation for this class was generated from the following files: