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

#include <flex-lexer.hh>

Inheritance diagram for FlexLexer:

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 void switch_streams (std::istream *new_in=nullptr, std::ostream *new_out=nullptr)=0
int lineno () const
int debug () const
void set_debug (int flag)

Protected Attributes

char * yytext
int yyleng
int yylineno
int yy_flex_debug

Constructor & Destructor Documentation

virtual FlexLexer::~FlexLexer ( )
inlinevirtual

Member Function Documentation

int FlexLexer::debug ( ) const
inline

References yy_flex_debug.

int FlexLexer::lineno ( ) const
inline

References yylineno.

void FlexLexer::set_debug ( int  flag)
inline

References yy_flex_debug.

virtual void FlexLexer::switch_streams ( std::istream *  new_in = nullptr,
std::ostream *  new_out = nullptr 
)
pure virtual

Implemented in yyFlexLexer.

virtual struct yy_buffer_state* FlexLexer::yy_create_buffer ( std::istream *  s,
int  size 
)
readpure virtual

Implemented in yyFlexLexer.

virtual void FlexLexer::yy_delete_buffer ( struct yy_buffer_state *  b)
pure virtual

Implemented in yyFlexLexer.

virtual void FlexLexer::yy_switch_to_buffer ( struct yy_buffer_state *  new_buffer)
pure virtual

Implemented in yyFlexLexer.

int FlexLexer::YYLeng ( ) const
inline

References yyleng.

virtual void FlexLexer::yyrestart ( std::istream *  s)
pure virtual

Implemented in yyFlexLexer.

const char* FlexLexer::YYText ( ) const
inline

References yytext.

Member Data Documentation

int FlexLexer::yy_flex_debug
protected

Referenced by debug(), and set_debug().

int FlexLexer::yyleng
protected

Referenced by YYLeng().

int FlexLexer::yylineno
protected

Referenced by lineno().

char* FlexLexer::yytext
protected

Referenced by YYText().


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