COPASI API  4.16.103
Public Member Functions | Protected Attributes | List of all members
FlexLexer Class Referenceabstract

#include <FlexLexer.h>

Inheritance diagram for FlexLexer:
Inheritance graph
[legend]

Public Member Functions

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

Protected Attributes

int yy_flex_debug
 
int yyleng
 
int yylineno
 
char * yytext
 

Detailed Description

Definition at line 75 of file FlexLexer.h.

Constructor & Destructor Documentation

virtual FlexLexer::~FlexLexer ( )
inlinevirtual

Definition at line 78 of file FlexLexer.h.

78 { }

Member Function Documentation

int FlexLexer::debug ( ) const
inline

Definition at line 106 of file FlexLexer.h.

References yy_flex_debug.

106 { return yy_flex_debug; }
int yy_flex_debug
Definition: FlexLexer.h:113
int FlexLexer::lineno ( ) const
inline

Definition at line 104 of file FlexLexer.h.

References yylineno.

104 { return yylineno; }
int yylineno
Definition: FlexLexer.h:112
void FlexLexer::set_debug ( int  flag)
inline

Definition at line 107 of file FlexLexer.h.

References yy_flex_debug.

107 { yy_flex_debug = flag; }
int yy_flex_debug
Definition: FlexLexer.h:113
long int flag
Definition: f2c.h:52
virtual void FlexLexer::switch_streams ( std::istream *  new_in = 0,
std::ostream *  new_out = 0 
)
pure virtual

Implemented in yyFlexLexer, and CChemEqParser.

Referenced by yylex().

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

Implemented in yyFlexLexer, and CChemEqParser.

virtual void FlexLexer::yy_delete_buffer ( struct yy_buffer_state b)
pure virtual
virtual void FlexLexer::yy_switch_to_buffer ( struct yy_buffer_state new_buffer)
pure virtual
int FlexLexer::YYLeng ( ) const
inline

Definition at line 81 of file FlexLexer.h.

References yyleng.

81 { return yyleng; }
int yyleng
Definition: FlexLexer.h:111
virtual int FlexLexer::yylex ( )
pure virtual

Implemented in yyFlexLexer, CEvaluationLexer, and CChemEqParser.

Referenced by yylex().

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

Definition at line 93 of file FlexLexer.h.

References switch_streams(), and yylex().

94  {
95  switch_streams(new_in, new_out);
96  return yylex();
97  }
virtual void switch_streams(std::istream *new_in=0, std::ostream *new_out=0)=0
virtual int yylex()=0
virtual void FlexLexer::yyrestart ( std::istream *  s)
pure virtual

Implemented in yyFlexLexer, and CChemEqParser.

const char* FlexLexer::YYText ( ) const
inline

Definition at line 80 of file FlexLexer.h.

References yytext.

80 { return yytext; }
char * yytext
Definition: FlexLexer.h:110

Member Data Documentation

int FlexLexer::yy_flex_debug
protected
int FlexLexer::yyleng
protected

Definition at line 111 of file FlexLexer.h.

Referenced by YYLeng().

int FlexLexer::yylineno
protected
char* FlexLexer::yytext
protected

Definition at line 110 of file FlexLexer.h.

Referenced by YYText().


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