NLAISCRIPT::FlexLexer Class Reference

#include <lex.h>

Inheritance diagram for NLAISCRIPT::FlexLexer:

NLAISCRIPT::yyFlexLexer NLAISCRIPT::CCompilateur

Public Member Functions

int debug () const
int lineno () const
void set_debug (int flag)
virtual void switch_streams (istream *new_in=0, ostream *new_out=0)=0
virtual struct yy_buffer_stateyy_create_buffer (istream *s, int size)=0
virtual void yy_delete_buffer (struct yy_buffer_state *b)=0
virtual void yy_switch_to_buffer (struct yy_buffer_state *new_buffer)=0
int YYLeng ()
int yylex (istream *new_in, ostream *new_out=0)
virtual int yylex ()=0
virtual void yyrestart (istream *s)=0
const char * YYText ()
virtual ~FlexLexer ()

Protected Attributes

int yy_flex_debug
int yyleng
int yylineno
char * yytext

Constructor & Destructor Documentation

virtual NLAISCRIPT::FlexLexer::~FlexLexer  )  [inline, virtual]
 

Definition at line 43 of file lex.h.

00043 { }


Member Function Documentation

int NLAISCRIPT::FlexLexer::debug  )  const [inline]
 

Definition at line 71 of file lex.h.

References yy_flex_debug.

00071 { return yy_flex_debug; }

int NLAISCRIPT::FlexLexer::lineno  )  const [inline]
 

Definition at line 69 of file lex.h.

References yylineno.

00069 { return yylineno; }

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

Definition at line 72 of file lex.h.

References yy_flex_debug.

00072 { yy_flex_debug = flag; }               

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

Implemented in NLAISCRIPT::yyFlexLexer.

Referenced by yylex().

virtual struct yy_buffer_state* NLAISCRIPT::FlexLexer::yy_create_buffer istream *  s,
int  size
[pure virtual]
 

Implemented in NLAISCRIPT::yyFlexLexer.

virtual void NLAISCRIPT::FlexLexer::yy_delete_buffer struct yy_buffer_state b  )  [pure virtual]
 

Implemented in NLAISCRIPT::yyFlexLexer.

virtual void NLAISCRIPT::FlexLexer::yy_switch_to_buffer struct yy_buffer_state new_buffer  )  [pure virtual]
 

Implemented in NLAISCRIPT::yyFlexLexer.

int NLAISCRIPT::FlexLexer::YYLeng  )  [inline]
 

Definition at line 46 of file lex.h.

References yyleng.

00046 { return yyleng; }

int NLAISCRIPT::FlexLexer::yylex istream *  new_in,
ostream *  new_out = 0
[inline]
 

Definition at line 58 of file lex.h.

References switch_streams(), and yylex().

00059                         {
00060                         switch_streams( new_in, new_out );
00061                         return yylex();
00062                         }

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

Implemented in NLAISCRIPT::yyFlexLexer.

Referenced by yylex().

virtual void NLAISCRIPT::FlexLexer::yyrestart istream *  s  )  [pure virtual]
 

Implemented in NLAISCRIPT::yyFlexLexer.

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

Definition at line 45 of file lex.h.

References yytext.

00045 { return yytext; }


Field Documentation

int NLAISCRIPT::FlexLexer::yy_flex_debug [protected]
 

Definition at line 78 of file lex.h.

Referenced by debug(), set_debug(), and NLAISCRIPT::yyFlexLexer::yyFlexLexer().

int NLAISCRIPT::FlexLexer::yyleng [protected]
 

Definition at line 76 of file lex.h.

Referenced by YYLeng().

int NLAISCRIPT::FlexLexer::yylineno [protected]
 

Definition at line 77 of file lex.h.

Referenced by lineno().

char* NLAISCRIPT::FlexLexer::yytext [protected]
 

Definition at line 75 of file lex.h.

Referenced by YYText().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 12:31:58 2004 for NeL by doxygen 1.3.6