FlexLexer Class Reference

#include <FlexLexer.h>

Inheritance diagram for FlexLexer:

Inheritance graph
[legend]
Collaboration diagram for FlexLexer:

Collaboration graph
[legend]

Detailed Description

Definition at line 54 of file FlexLexer.h.

Public Member Functions

virtual ~FlexLexer ()
const char * YYText ()
int YYLeng ()
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 int yylex ()=0
int yylex (std::istream *new_in, std::ostream *new_out=0)
virtual void switch_streams (std::istream *new_in=0, std::ostream *new_out=0)=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 (  )  [inline, virtual]

Definition at line 56 of file FlexLexer.h.


Member Function Documentation

const char* FlexLexer::YYText (  )  [inline]

Definition at line 58 of file FlexLexer.h.

References yytext.

int FlexLexer::YYLeng (  )  [inline]

Definition at line 59 of file FlexLexer.h.

References yyleng.

virtual void FlexLexer::yy_switch_to_buffer ( struct yy_buffer_state *  new_buffer  )  [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::yyrestart ( std::istream *  s  )  [pure virtual]

Implemented in yyFlexLexer.

virtual int FlexLexer::yylex (  )  [pure virtual]

Implemented in yyFlexLexer.

Referenced by yylex().

Here is the caller graph for this function:

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

Definition at line 71 of file FlexLexer.h.

References switch_streams(), and yylex().

Here is the call graph for this function:

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

Implemented in yyFlexLexer.

Referenced by yylex().

Here is the caller graph for this function:

int FlexLexer::lineno (  )  const [inline]

Definition at line 82 of file FlexLexer.h.

References yylineno.

int FlexLexer::debug (  )  const [inline]

Definition at line 84 of file FlexLexer.h.

References yy_flex_debug.

void FlexLexer::set_debug ( int  flag  )  [inline]

Definition at line 85 of file FlexLexer.h.

References yy_flex_debug.


Field Documentation

char* FlexLexer::yytext [protected]

Definition at line 88 of file FlexLexer.h.

Referenced by YYText().

int FlexLexer::yyleng [protected]

Definition at line 89 of file FlexLexer.h.

Referenced by YYLeng().

int FlexLexer::yylineno [protected]

Definition at line 90 of file FlexLexer.h.

Referenced by lineno().

int FlexLexer::yy_flex_debug [protected]

Definition at line 91 of file FlexLexer.h.

Referenced by debug(), and set_debug().


The documentation for this class was generated from the following file:
Generated on Fri Jun 6 22:22:38 2008 for CrocoPat by  doxygen 1.5.1