LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
yyFlexLexer Class Reference

#include <flex-lexer.hh>

Inheritance diagram for yyFlexLexer:
Collaboration diagram for yyFlexLexer:

Public Member Functions

 yyFlexLexer (std::istream *arg_yyin=nullptr, std::ostream *arg_yyout=nullptr)
virtual ~yyFlexLexer ()
void yy_switch_to_buffer (struct yy_buffer_state *new_buffer)
struct yy_buffer_state * yy_create_buffer (std::istream *s, int size)
void yy_delete_buffer (struct yy_buffer_state *b)
void yyrestart (std::istream *s)
void yypush_buffer_state (struct 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 ()
const char * YYText () const
int YYLeng () const
int lineno () const
int debug () const
void set_debug (int flag)

Public Attributes

location loc

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 (struct yy_buffer_state *b, std::istream *s)
void yy_flush_buffer (struct 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::istream * yyin
std::ostream * yyout
char yy_hold_char
int yy_n_chars
char * yy_c_buf_p
int yy_init
int yy_start
int yy_did_buffer_switch_on_eof
size_t yy_buffer_stack_top
size_t yy_buffer_stack_max
struct yy_buffer_state ** yy_buffer_stack
yy_state_type yy_last_accepting_state
char * yy_last_accepting_cpos
yy_state_typeyy_state_buf
yy_state_typeyy_state_ptr
char * yy_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
char * yytext
int yyleng
int yylineno
int yy_flex_debug

Constructor & Destructor Documentation

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

Member Function Documentation

int FlexLexer::debug ( ) const
inlineinherited
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
int FlexLexer::lineno ( ) const
inlineinherited

References FlexLexer::yylineno.

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

Implements FlexLexer.

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

Implements FlexLexer.

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

Implements FlexLexer.

void yyFlexLexer::yy_flush_buffer ( struct 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 ( struct 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 ( struct 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
int FlexLexer::YYLeng ( ) const
inlineinherited

References FlexLexer::yyleng.

void yyFlexLexer::yypop_buffer_state ( )
void yyFlexLexer::yypush_buffer_state ( struct yy_buffer_state *  new_buffer)
void yyFlexLexer::yyrestart ( std::istream *  s)
virtual

Implements FlexLexer.

const char* FlexLexer::YYText ( ) const
inlineinherited

References FlexLexer::yytext.

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

Member Data Documentation

location yyFlexLexer::loc
struct yy_buffer_state** yyFlexLexer::yy_buffer_stack
protected

Stack as an array.

size_t yyFlexLexer::yy_buffer_stack_max
protected

capacity of stack.

size_t yyFlexLexer::yy_buffer_stack_top
protected

index of top of stack.

char* yyFlexLexer::yy_c_buf_p
protected
int yyFlexLexer::yy_did_buffer_switch_on_eof
protected
int FlexLexer::yy_flex_debug
protectedinherited
int yyFlexLexer::yy_full_lp
protected
char* yyFlexLexer::yy_full_match
protected
int* yyFlexLexer::yy_full_state
protected
char yyFlexLexer::yy_hold_char
protected
int yyFlexLexer::yy_init
protected
char* yyFlexLexer::yy_last_accepting_cpos
protected
yy_state_type yyFlexLexer::yy_last_accepting_state
protected
int yyFlexLexer::yy_looking_for_trail_begin
protected
int yyFlexLexer::yy_lp
protected
int yyFlexLexer::yy_more_flag
protected
int yyFlexLexer::yy_more_len
protected
int yyFlexLexer::yy_more_offset
protected
int yyFlexLexer::yy_n_chars
protected
int yyFlexLexer::yy_prev_more_offset
protected
int yyFlexLexer::yy_start
protected
int* yyFlexLexer::yy_start_stack
protected
int yyFlexLexer::yy_start_stack_depth
protected
int yyFlexLexer::yy_start_stack_ptr
protected
yy_state_type* yyFlexLexer::yy_state_buf
protected
yy_state_type* yyFlexLexer::yy_state_ptr
protected
std::istream* yyFlexLexer::yyin
protected
int FlexLexer::yyleng
protectedinherited

Referenced by FlexLexer::YYLeng().

int FlexLexer::yylineno
protectedinherited

Referenced by FlexLexer::lineno().

std::ostream* yyFlexLexer::yyout
protected
char* FlexLexer::yytext
protectedinherited

Referenced by FlexLexer::YYText().


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