#include <FlexLexer.h>
Public Member Functions | |
virtual | ~FlexLexer () |
const char * | YYText () const |
int | YYLeng () const |
virtual void | yy_switch_to_buffer (struct yy_buffer_state *new_buffer)=0 |
virtual struct yy_buffer_state * | yy_create_buffer (std::istream *s, int size)=0 |
virtual void | yy_delete_buffer (struct yy_buffer_state *b)=0 |
virtual void | yyrestart (std::istream *s)=0 |
virtual int | yylex ()=0 |
int | yylex (std::istream *new_in, std::ostream *new_out=0) |
virtual void | switch_streams (std::istream *new_in=0, std::ostream *new_out=0)=0 |
int | lineno () const |
int | debug () const |
void | set_debug (int flag) |
Protected Attributes | |
char * | yytext |
int | yyleng |
int | yylineno |
int | yy_flex_debug |
Definition at line 61 of file FlexLexer.h.
virtual FlexLexer::~FlexLexer | ( | ) | [inline, virtual] |
Definition at line 63 of file FlexLexer.h.
int FlexLexer::debug | ( | ) | const [inline] |
int FlexLexer::lineno | ( | ) | const [inline] |
void FlexLexer::set_debug | ( | int | flag | ) | [inline] |
virtual void FlexLexer::switch_streams | ( | std::istream * | new_in = 0 , |
|
std::ostream * | new_out = 0 | |||
) | [pure virtual] |
virtual struct yy_buffer_state* FlexLexer::yy_create_buffer | ( | std::istream * | s, | |
int | size | |||
) | [read, pure virtual] |
Implemented in ExampleFlexLexer.
virtual void FlexLexer::yy_delete_buffer | ( | struct yy_buffer_state * | b | ) | [pure virtual] |
Implemented in ExampleFlexLexer.
virtual void FlexLexer::yy_switch_to_buffer | ( | struct yy_buffer_state * | new_buffer | ) | [pure virtual] |
Implemented in ExampleFlexLexer.
int FlexLexer::YYLeng | ( | ) | const [inline] |
int FlexLexer::yylex | ( | std::istream * | new_in, | |
std::ostream * | new_out = 0 | |||
) | [inline] |
virtual int FlexLexer::yylex | ( | ) | [pure virtual] |
virtual void FlexLexer::yyrestart | ( | std::istream * | s | ) | [pure virtual] |
Implemented in ExampleFlexLexer.
const char* FlexLexer::YYText | ( | ) | const [inline] |
int FlexLexer::yy_flex_debug [protected] |
Definition at line 98 of file FlexLexer.h.
Referenced by debug(), ExampleFlexLexer::ExampleFlexLexer(), example::Scanner::set_debug(), and set_debug().
int FlexLexer::yyleng [protected] |
int FlexLexer::yylineno [protected] |
Definition at line 97 of file FlexLexer.h.
Referenced by ExampleFlexLexer::ExampleFlexLexer(), and lineno().
char* FlexLexer::yytext [protected] |