ddc
Public Member Functions | Public Attributes | Protected Attributes | List of all members
FlexLexer Class Referenceabstract

#include <FlexLexer.h>

Inheritance diagram for FlexLexer:
Inheritance graph
[legend]

Public Member Functions

virtual ~FlexLexer ()
 
const char * YYText () const
 
int YYLeng () const
 
virtual void yy_switch_to_buffer (yy_buffer_state *new_buffer)=0
 
virtual yy_buffer_stateyy_create_buffer (std::istream *s, int size)=0
 
virtual yy_buffer_stateyy_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 yyrestart (std::istream &s)=0
 
virtual int yylex ()=0
 
int yylex (std::istream &new_in, std::ostream &new_out)
 
int yylex (std::istream *new_in, std::ostream *new_out=0)
 
virtual void switch_streams (std::istream *new_in, std::ostream *new_out)=0
 
virtual void switch_streams (std::istream &new_in, std::ostream &new_out)=0
 
int lineno () const
 
int debug () const
 
void set_debug (int flag)
 
int byteno ()
 

Public Attributes

int yybyteno
 
int yyDtrsPos
 moo: byte-offset in query-string of active qf_subcorpora component, or -1 for none More...
 
int yyDtrsLen
 moo: byte-length in query-string of active qf_subcorpora component, or 0 for none More...
 

Protected Attributes

char * yytext
 
int yyleng
 
int yylineno
 
int yy_flex_debug
 

Constructor & Destructor Documentation

◆ ~FlexLexer()

virtual FlexLexer::~FlexLexer ( )
inlinevirtual

Member Function Documentation

◆ YYText()

const char* FlexLexer::YYText ( ) const
inline

References yytext.

◆ YYLeng()

int FlexLexer::YYLeng ( ) const
inline

References yy_create_buffer(), yy_delete_buffer(), yy_switch_to_buffer(), yyleng, yylex(), and yyrestart().

Here is the call graph for this function:

◆ yy_switch_to_buffer()

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

Implemented in yyFlexLexer.

Referenced by YYLeng().

Here is the caller graph for this function:

◆ yy_create_buffer() [1/2]

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

Implemented in yyFlexLexer.

Referenced by YYLeng().

Here is the caller graph for this function:

◆ yy_create_buffer() [2/2]

virtual yy_buffer_state* FlexLexer::yy_create_buffer ( std::istream &  s,
int  size 
)
pure virtual

Implemented in yyFlexLexer.

◆ yy_delete_buffer()

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

Implemented in yyFlexLexer.

Referenced by YYLeng().

Here is the caller graph for this function:

◆ yyrestart() [1/2]

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

Implemented in yyFlexLexer.

Referenced by YYLeng().

Here is the caller graph for this function:

◆ yyrestart() [2/2]

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

Implemented in yyFlexLexer.

◆ yylex() [1/3]

virtual int FlexLexer::yylex ( )
pure virtual

Implemented in yyFlexLexer.

Referenced by YYLeng(), and yylex().

Here is the caller graph for this function:

◆ yylex() [2/3]

int FlexLexer::yylex ( std::istream &  new_in,
std::ostream &  new_out 
)
inline

References switch_streams(), and yylex().

Here is the call graph for this function:

◆ yylex() [3/3]

int FlexLexer::yylex ( std::istream *  new_in,
std::ostream *  new_out = 0 
)
inline

References switch_streams(), and yylex().

Here is the call graph for this function:

◆ switch_streams() [1/2]

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

Implemented in yyFlexLexer.

Referenced by yylex().

Here is the caller graph for this function:

◆ switch_streams() [2/2]

virtual void FlexLexer::switch_streams ( std::istream &  new_in,
std::ostream &  new_out 
)
pure virtual

Implemented in yyFlexLexer.

◆ lineno()

int FlexLexer::lineno ( ) const
inline

References yylineno.

◆ debug()

int FlexLexer::debug ( ) const
inline

References yy_flex_debug.

◆ set_debug()

void FlexLexer::set_debug ( int  flag)
inline

References yy_flex_debug.

◆ byteno()

int FlexLexer::byteno ( )
inline

References yybyteno.

Member Data Documentation

◆ yytext

char* FlexLexer::yytext
protected

Referenced by YYText().

◆ yyleng

int FlexLexer::yyleng
protected

Referenced by YYLeng().

◆ yylineno

int FlexLexer::yylineno
protected

Referenced by lineno().

◆ yy_flex_debug

int FlexLexer::yy_flex_debug
protected

Referenced by debug(), and set_debug().

◆ yybyteno

int FlexLexer::yybyteno

Referenced by byteno().

◆ yyDtrsPos

int FlexLexer::yyDtrsPos

moo: byte-offset in query-string of active qf_subcorpora component, or -1 for none

◆ yyDtrsLen

int FlexLexer::yyDtrsLen

moo: byte-length in query-string of active qf_subcorpora component, or 0 for none


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