|
The Vish Visualization Shell 0.3
Vish
|
Public Member Functions | |
| struct yy_buffer_state * | yy_create_buffer (FLEX_STD istream *s, int size) |
| Allocate and initialize an input buffer state. | |
| void | yy_delete_buffer (struct yy_buffer_state *b) |
| Destroy the buffer. | |
| void | yy_switch_to_buffer (struct yy_buffer_state *new_buffer) |
| Switch to a different input buffer. | |
| void | yypop_buffer_state () |
| Removes and deletes the top of the stack, if present. | |
| void | yypush_buffer_state (struct yy_buffer_state *new_buffer) |
| Pushes the new state onto the stack. | |
| void | yyrestart (FLEX_STD istream *s) |
| Immediately switch to a different input stream. | |
Protected Member Functions | |
| void | yy_flush_buffer (struct yy_buffer_state *b) |
| Discard all buffered characters. | |
Protected Attributes | |
| struct yy_buffer_state ** | yy_buffer_stack |
| Stack as an array. | |
| size_t | yy_buffer_stack_max |
| capacity of stack. | |
| size_t | yy_buffer_stack_top |
| index of top of stack. | |
|
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.
References yy_create_buffer().
Referenced by yy_create_buffer(), and yyrestart().
|
virtual |
Destroy the buffer.
| b | a buffer created with yy_create_buffer() |
Implements FlexLexer.
References yy_delete_buffer().
Referenced by yy_delete_buffer(), and yypop_buffer_state().
|
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. |
References yy_flush_buffer().
Referenced by yy_flush_buffer().
|
virtual |
Switch to a different input buffer.
| new_buffer | The new input buffer. |
Implements FlexLexer.
References yy_switch_to_buffer().
Referenced by yy_switch_to_buffer().
| 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_delete_buffer(), and yypop_buffer_state().
Referenced by yypop_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.
| new_buffer | The new state. |
References yy_buffer_stack_top, 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.
References yy_create_buffer(), and yyrestart().
Referenced by yyrestart().