OmniSciDB  ba1bac9284
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FlexLexer Class Referenceabstract

#include <FlexLexer_wnd.h>

+ Inheritance diagram for FlexLexer:

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)
 

Protected Attributes

char * yytext
 
int yyleng
 
int yylineno
 
int yy_flex_debug
 

Detailed Description

Definition at line 58 of file FlexLexer_wnd.h.

Constructor & Destructor Documentation

virtual FlexLexer::~FlexLexer ( )
inlinevirtual

Definition at line 60 of file FlexLexer_wnd.h.

60 {}

Member Function Documentation

int FlexLexer::debug ( ) const
inline

Definition at line 92 of file FlexLexer_wnd.h.

References yy_flex_debug.

92 { return yy_flex_debug; }
int yy_flex_debug
Definition: FlexLexer_wnd.h:99
int FlexLexer::lineno ( ) const
inline

Definition at line 90 of file FlexLexer_wnd.h.

References yylineno.

90 { return yylineno; }
void FlexLexer::set_debug ( int  flag)
inline

Definition at line 93 of file FlexLexer_wnd.h.

References yy_flex_debug.

93 { yy_flex_debug = flag; }
int yy_flex_debug
Definition: FlexLexer_wnd.h:99
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:

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

Implemented in yyFlexLexer.

virtual yy_buffer_state* FlexLexer::yy_create_buffer ( std::istream *  s,
int  size 
)
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 63 of file FlexLexer_wnd.h.

References yyleng.

63 { return yyleng; }
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 
)
inline

Definition at line 75 of file FlexLexer_wnd.h.

References switch_streams(), and yylex().

75  {
76  switch_streams(new_in, new_out);
77  return yylex();
78  }
virtual void switch_streams(std::istream *new_in, std::ostream *new_out)=0
virtual int yylex()=0

+ Here is the call graph for this function:

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

Definition at line 80 of file FlexLexer_wnd.h.

References switch_streams(), and yylex().

80  {
81  switch_streams(new_in, new_out);
82  return yylex();
83  }
virtual void switch_streams(std::istream *new_in, std::ostream *new_out)=0
virtual int yylex()=0

+ Here is the call graph for this function:

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

Implemented in yyFlexLexer.

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

Implemented in yyFlexLexer.

const char* FlexLexer::YYText ( ) const
inline

Definition at line 62 of file FlexLexer_wnd.h.

References yytext.

62 { return yytext; }
char * yytext
Definition: FlexLexer_wnd.h:96

Member Data Documentation

int FlexLexer::yy_flex_debug
protected

Definition at line 99 of file FlexLexer_wnd.h.

Referenced by debug(), and set_debug().

int FlexLexer::yyleng
protected

Definition at line 97 of file FlexLexer_wnd.h.

Referenced by YYLeng().

int FlexLexer::yylineno
protected

Definition at line 98 of file FlexLexer_wnd.h.

Referenced by lineno().

char* FlexLexer::yytext
protected

Definition at line 96 of file FlexLexer_wnd.h.

Referenced by YYText().


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