Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 (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

charyytext
 
int yyleng
 
int yylineno
 
int yy_flex_debug
 

Detailed Description

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

Constructor & Destructor Documentation

virtual FlexLexer::~FlexLexer ( )
inlinevirtual

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

Member Function Documentation

int FlexLexer::debug ( ) const
inline

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

References yy_flex_debug.

int FlexLexer::lineno ( ) const
inline

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

References yylineno.

void FlexLexer::set_debug ( int  flag)
inline

Definition at line 75 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 struct yy_buffer_state* FlexLexer::yy_create_buffer ( std::istream *  s,
int  size 
)
pure 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

Definition at line 59 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 58 of file flex-lexer.hh.

References yytext.

Member Data Documentation

int FlexLexer::yy_flex_debug
protected

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

Referenced by debug(), and set_debug().

int FlexLexer::yyleng
protected

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

Referenced by YYLeng().

int FlexLexer::yylineno
protected

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

Referenced by lineno().

char* FlexLexer::yytext
protected

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

Referenced by YYText().


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