47 #ifndef __FLEX_LEXER_H
49 #define __FLEX_LEXER_H
53 # define FLEX_STD std::
58 struct yy_buffer_state;
70 virtual struct yy_buffer_state*
75 virtual int yylex() = 0;
102 #endif // FLEXLEXER_H
104 #if defined(yyFlexLexer) || ! defined(yyFlexLexerOnce)
108 #define yyFlexLexerOnce
134 virtual void LexerOutput(
const char* buf,
int size );
137 void yyunput(
int c,
char* buf_ptr );
205 #endif // yyFlexLexer || ! yyFlexLexerOnce
struct yy_buffer_state ** yy_buffer_stack
Stack as an array.
virtual void switch_streams(FLEX_STD istream *new_in, FLEX_STD ostream *new_out=0)
void yy_delete_buffer(struct yy_buffer_state *b)
void yy_push_state(int new_state)
size_t yy_buffer_stack_top
index of top of stack.
size_t yy_buffer_stack_max
capacity of stack.
int yy_did_buffer_switch_on_eof
yy_state_type yy_last_accepting_state
struct yy_buffer_state * yy_create_buffer(FLEX_STD istream *s, int size)
yyFlexLexer(FLEX_STD istream *arg_yyin=0, FLEX_STD ostream *arg_yyout=0)
void yy_load_buffer_state()
yy_state_type * yy_state_ptr
virtual void yy_delete_buffer(struct yy_buffer_state *b)=0
virtual void switch_streams(FLEX_STD istream *new_in=0, FLEX_STD ostream *new_out=0)=0
const char * YYText() const
yy_state_type yy_get_previous_state()
virtual struct yy_buffer_state * yy_create_buffer(FLEX_STD istream *s, int size)=0
char * yy_last_accepting_cpos
virtual void LexerOutput(const char *buf, int size)
virtual void LexerError(const char *msg)
void yy_switch_to_buffer(struct yy_buffer_state *new_buffer)
void yyunput(int c, char *buf_ptr)
void yyrestart(FLEX_STD istream *s)
void yy_init_buffer(struct yy_buffer_state *b, FLEX_STD istream *s)
int yy_looking_for_trail_begin
virtual void yy_switch_to_buffer(struct yy_buffer_state *new_buffer)=0
void yypop_buffer_state()
int yylex(FLEX_STD istream *new_in, FLEX_STD ostream *new_out=0)
yy_state_type * yy_state_buf
virtual void yyrestart(FLEX_STD istream *s)=0
virtual int LexerInput(char *buf, int max_size)
void yyensure_buffer_stack(void)
void yypush_buffer_state(struct yy_buffer_state *new_buffer)
void yy_flush_buffer(struct yy_buffer_state *b)
yy_state_type yy_try_NUL_trans(yy_state_type current_state)