Vcsn  2.2a
Be Rational
FlexLexer Class Referenceabstract

#include <flex-lexer.hh>

Inheritance diagram for FlexLexer:
Collaboration diagram for FlexLexer:

Public Member Functions

virtual ~FlexLexer ()
 
const charYYText () const
 
int YYLeng () const
 
virtual void yy_switch_to_buffer (yy_buffer_state *new_buffer)=0
 
virtual yy_buffer_state * yy_create_buffer (std::istream *s, int size)=0
 
virtual void yy_delete_buffer (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

charyytext
 
int yyleng
 
int yylineno
 
int yy_flex_debug
 

Detailed Description

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

Constructor & Destructor Documentation

virtual FlexLexer::~FlexLexer ( )
inlinevirtual

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

Member Function Documentation

int FlexLexer::debug ( ) const
inline

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

References yy_flex_debug.

int FlexLexer::lineno ( ) const
inline

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

References yylineno.

void FlexLexer::set_debug ( int  flag)
inline

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

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 yy_buffer_state* FlexLexer::yy_create_buffer ( std::istream *  s,
int  size 
)
pure virtual

Implemented in yyFlexLexer.

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

Implemented in yyFlexLexer.

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

Implemented in yyFlexLexer.

int FlexLexer::YYLeng ( ) const
inline

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

References yyleng.

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

Implemented in yyFlexLexer.

const char* FlexLexer::YYText ( ) const
inline

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

References yytext.

Member Data Documentation

int FlexLexer::yy_flex_debug
protected

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

Referenced by debug(), and set_debug().

int FlexLexer::yyleng
protected

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

Referenced by YYLeng().

int FlexLexer::yylineno
protected

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

Referenced by lineno().

char* FlexLexer::yytext
protected

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

Referenced by YYText().


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