Vcsn  2.4
Be Rational
yyFlexLexer Class Reference

#include <flex-lexer.hh>

Inheritance diagram for yyFlexLexer:
Collaboration diagram for yyFlexLexer:

Public Member Functions

 yyFlexLexer (std::istream &arg_yyin, std::ostream &arg_yyout)
 
 yyFlexLexer (std::istream *arg_yyin=nullptr, std::ostream *arg_yyout=nullptr)
 
virtual ~yyFlexLexer ()
 
void yy_switch_to_buffer (yy_buffer_state *new_buffer)
 
yy_buffer_state * yy_create_buffer (std::istream *s, int size)
 
void yy_delete_buffer (yy_buffer_state *b)
 
void yyrestart (std::istream *s)
 
void yypush_buffer_state (yy_buffer_state *new_buffer)
 
void yypop_buffer_state ()
 
 YY_DECL_ ()
 
void scan_open_ (std::istream &f)
 
void scan_close_ ()
 
virtual void switch_streams (std::istream *new_in, std::ostream *new_out=nullptr)
 
virtual int yywrap ()
 
void putback (char c)
 
- Public Member Functions inherited from FlexLexer
virtual ~FlexLexer ()
 
const charYYText () const
 
int YYLeng () const
 
int lineno () const
 
int debug () const
 
void set_debug (int flag)
 

Public Attributes

location loc
 
std::istream * yyin
 

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 (yy_buffer_state *b, std::istream *s)
 
void yy_flush_buffer (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
 
std::ostream * yyout
 
char yy_hold_char
 
int yy_n_chars
 
charyy_c_buf_p
 
int yy_init
 
int yy_start
 
int yy_did_buffer_switch_on_eof
 
size_t yy_buffer_stack_top
 index of top of stack. More...
 
size_t yy_buffer_stack_max
 capacity of stack. More...
 
yy_buffer_state ** yy_buffer_stack
 Stack as an array. More...
 
yy_state_type yy_last_accepting_state
 
charyy_last_accepting_cpos
 
yy_state_typeyy_state_buf
 
yy_state_typeyy_state_ptr
 
charyy_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
charyytext
 
int yyleng
 
int yylineno
 
int yy_flex_debug
 

Private Member Functions

void ctor_common ()
 

Detailed Description

Definition at line 103 of file flex-lexer.hh.

Constructor & Destructor Documentation

yyFlexLexer::yyFlexLexer ( std::istream &  arg_yyin,
std::ostream &  arg_yyout 
)
yyFlexLexer::yyFlexLexer ( std::istream *  arg_yyin = nullptr,
std::ostream *  arg_yyout = nullptr 
)
virtual yyFlexLexer::~yyFlexLexer ( )
virtual

Member Function Documentation

void yyFlexLexer::ctor_common ( )
private
virtual void yyFlexLexer::LexerError ( const char msg)
protectedvirtual
virtual int yyFlexLexer::LexerInput ( char buf,
int  max_size 
)
protectedvirtual
virtual void yyFlexLexer::LexerOutput ( const char buf,
int  size 
)
protectedvirtual
void yyFlexLexer::putback ( char  c)
inline

Definition at line 149 of file flex-lexer.hh.

void yyFlexLexer::scan_close_ ( )
void yyFlexLexer::scan_open_ ( std::istream &  f)
virtual void yyFlexLexer::switch_streams ( std::istream *  new_in,
std::ostream *  new_out = nullptr 
)
virtual

Implements FlexLexer.

yy_buffer_state* yyFlexLexer::yy_create_buffer ( std::istream *  s,
int  size 
)
virtual

Implements FlexLexer.

yyFlexLexer::YY_DECL_ ( )
void yyFlexLexer::yy_delete_buffer ( yy_buffer_state *  b)
virtual

Implements FlexLexer.

void yyFlexLexer::yy_flush_buffer ( yy_buffer_state *  b)
protected
int yyFlexLexer::yy_get_next_buffer ( )
protected
yy_state_type yyFlexLexer::yy_get_previous_state ( )
protected
void yyFlexLexer::yy_init_buffer ( yy_buffer_state *  b,
std::istream *  s 
)
protected
void yyFlexLexer::yy_load_buffer_state ( )
protected
void yyFlexLexer::yy_pop_state ( )
protected
void yyFlexLexer::yy_push_state ( int  new_state)
protected
void yyFlexLexer::yy_switch_to_buffer ( yy_buffer_state *  new_buffer)
virtual

Implements FlexLexer.

int yyFlexLexer::yy_top_state ( )
protected
yy_state_type yyFlexLexer::yy_try_NUL_trans ( yy_state_type  current_state)
protected
void yyFlexLexer::yyensure_buffer_stack ( void  )
protected
int yyFlexLexer::yyinput ( )
protected
void yyFlexLexer::yypop_buffer_state ( )
void yyFlexLexer::yypush_buffer_state ( yy_buffer_state *  new_buffer)
void yyFlexLexer::yyrestart ( std::istream *  s)
virtual

Implements FlexLexer.

void yyFlexLexer::yyunput ( int  c,
char buf_ptr 
)
protected
virtual int yyFlexLexer::yywrap ( )
virtual

Member Data Documentation

location yyFlexLexer::loc

Definition at line 133 of file flex-lexer.hh.

yy_buffer_state** yyFlexLexer::yy_buffer_stack
protected

Stack as an array.

Definition at line 201 of file flex-lexer.hh.

size_t yyFlexLexer::yy_buffer_stack_max
protected

capacity of stack.

Definition at line 200 of file flex-lexer.hh.

size_t yyFlexLexer::yy_buffer_stack_top
protected

index of top of stack.

Definition at line 199 of file flex-lexer.hh.

char* yyFlexLexer::yy_c_buf_p
protected

Definition at line 189 of file flex-lexer.hh.

int yyFlexLexer::yy_did_buffer_switch_on_eof
protected

Definition at line 196 of file flex-lexer.hh.

int yyFlexLexer::yy_full_lp
protected

Definition at line 215 of file flex-lexer.hh.

char* yyFlexLexer::yy_full_match
protected

Definition at line 213 of file flex-lexer.hh.

int* yyFlexLexer::yy_full_state
protected

Definition at line 214 of file flex-lexer.hh.

char yyFlexLexer::yy_hold_char
protected

Definition at line 183 of file flex-lexer.hh.

int yyFlexLexer::yy_init
protected

Definition at line 191 of file flex-lexer.hh.

char* yyFlexLexer::yy_last_accepting_cpos
protected

Definition at line 208 of file flex-lexer.hh.

yy_state_type yyFlexLexer::yy_last_accepting_state
protected

Definition at line 207 of file flex-lexer.hh.

int yyFlexLexer::yy_looking_for_trail_begin
protected

Definition at line 218 of file flex-lexer.hh.

int yyFlexLexer::yy_lp
protected

Definition at line 217 of file flex-lexer.hh.

int yyFlexLexer::yy_more_flag
protected

Definition at line 220 of file flex-lexer.hh.

int yyFlexLexer::yy_more_len
protected

Definition at line 221 of file flex-lexer.hh.

int yyFlexLexer::yy_more_offset
protected

Definition at line 222 of file flex-lexer.hh.

int yyFlexLexer::yy_n_chars
protected

Definition at line 186 of file flex-lexer.hh.

int yyFlexLexer::yy_prev_more_offset
protected

Definition at line 223 of file flex-lexer.hh.

int yyFlexLexer::yy_start
protected

Definition at line 192 of file flex-lexer.hh.

int* yyFlexLexer::yy_start_stack
protected

Definition at line 166 of file flex-lexer.hh.

int yyFlexLexer::yy_start_stack_depth
protected

Definition at line 165 of file flex-lexer.hh.

int yyFlexLexer::yy_start_stack_ptr
protected

Definition at line 164 of file flex-lexer.hh.

yy_state_type* yyFlexLexer::yy_state_buf
protected

Definition at line 210 of file flex-lexer.hh.

yy_state_type* yyFlexLexer::yy_state_ptr
protected

Definition at line 211 of file flex-lexer.hh.

std::istream* yyFlexLexer::yyin

Definition at line 148 of file flex-lexer.hh.

std::ostream* yyFlexLexer::yyout
protected

Definition at line 179 of file flex-lexer.hh.


The documentation for this class was generated from the following file: