COPASI API  4.40.278
CUnitParser Class Reference

#include <CUnitParser.h>

Inheritance diagram for CUnitParser:
[legend]

Public Member Functions

 CUnitParser (std::istream &arg_yyin, std::ostream &arg_yyout)
 
 CUnitParser (std::istream *arg_yyin=0, std::ostream *arg_yyout=0)
 
virtual void switch_streams (std::istream &new_in, std::ostream &new_out)
 
virtual void switch_streams (std::istream *new_in=0, std::ostream *new_out=0)
 
yy_buffer_stateyy_create_buffer (std::istream &s, int size)
 
yy_buffer_stateyy_create_buffer (std::istream *s, int size)
 
void yy_delete_buffer (yy_buffer_state *b)
 
void yy_switch_to_buffer (yy_buffer_state *new_buffer)
 
virtual int yylex ()
 
void yypop_buffer_state ()
 
void yypush_buffer_state (yy_buffer_state *new_buffer)
 
void yyrestart (std::istream &s)
 
void yyrestart (std::istream *s)
 
virtual int yywrap ()
 
virtual ~ CUnitParser ()
 
- Public Member Functions inherited from FlexLexer
int debug () const
 
int lineno () const
 
void set_debug (int flag)
 
int YYLeng () const
 
int yylex (std::istream &new_in, std::ostream &new_out)
 
int yylex (std::istream *new_in, std::ostream *new_out=0)
 
const char * YYText () const
 
virtual ~FlexLexer ()
 
- Public Member Functions inherited from CUnitParserBase
 CUnitParserBase ()
 
const std::set< CUnitComponent > & getComponents () const
 
const std::string & getReplacedExpression () const
 
const std::set< std::string > & getSymbols () const
 
void replaceSymbol (const std::string &oldSymbol, const std::string &newSymbol)
 
virtual int yyparse ()
 
virtual ~ CUnitParserBase ()
 

Protected Member Functions

virtual void LexerError (const char *msg)
 
virtual int LexerInput (char *buf, int max_size)
 
virtual void LexerOutput (const char *buf, int size)
 
void yy_flush_buffer (yy_buffer_state *b)
 
int yy_get_next_buffer ()
 
yy_state_type yy_get_previous_state ()
 
void yy_init_buffer (yy_buffer_state *b, std::istream &s)
 
void yy_load_buffer_state ()
 
void yy_pop_state ()
 
void yy_push_state (int new_state)
 
int yy_top_state ()
 
yy_state_type yy_try_NUL_trans (yy_state_type current_state)
 
void yyensure_buffer_stack (void)
 
int yyinput ()
 
void yyunput (int c, char *buf_ptr)
 
- Protected Member Functions inherited from CUnitParserBase
void correctErrorPosition ()
 

Protected Attributes

yy_buffer_state ** yy_buffer_stack
 
size_t yy_buffer_stack_max
 
size_t yy_buffer_stack_top
 
char * yy_c_buf_p
 
int yy_did_buffer_switch_on_eof
 
int yy_full_lp
 
char * yy_full_match
 
int * yy_full_state
 
char yy_hold_char
 
int yy_init
 
char * yy_last_accepting_cpos
 
yy_state_type yy_last_accepting_state
 
int yy_looking_for_trail_begin
 
int yy_lp
 
int yy_more_flag
 
int yy_more_len
 
int yy_more_offset
 
int yy_n_chars
 
int yy_prev_more_offset
 
int yy_start
 
int * yy_start_stack
 
int yy_start_stack_depth
 
int yy_start_stack_ptr
 
yy_state_typeyy_state_buf
 
yy_state_typeyy_state_ptr
 
std::istream yyin
 
std::ostream yyout
 
- Protected Attributes inherited from FlexLexer
int yy_flex_debug
 
int yyleng
 
int yylineno
 
char * yytext
 
- Protected Attributes inherited from CUnitParserBase
std::string mNewSymbol
 
std::string mOldSymbol
 
const CUnitDefinitionmpCurrentUnitDef
 
unsigned C_INT32 mPosition
 
CUnitmpUnit
 
std::string mReplacedExpression
 
std::set< std::string > mSymbols
 

Private Member Functions

void ctor_common ()
 

Constructor & Destructor Documentation

◆ CUnitParser() [1/2]

CUnitParser::CUnitParser ( std::istream &  arg_yyin,
std::ostream &  arg_yyout 
)

◆ CUnitParser() [2/2]

CUnitParser::CUnitParser ( std::istream *  arg_yyin = 0,
std::ostream *  arg_yyout = 0 
)

◆ ~ CUnitParser()

virtual CUnitParser::~ CUnitParser ( )
virtual

Member Function Documentation

◆ ctor_common()

void CUnitParser::ctor_common ( )
private

◆ LexerError()

virtual void CUnitParser::LexerError ( const char *  msg)
protectedvirtual

◆ LexerInput()

virtual int CUnitParser::LexerInput ( char *  buf,
int  max_size 
)
protectedvirtual

◆ LexerOutput()

virtual void CUnitParser::LexerOutput ( const char *  buf,
int  size 
)
protectedvirtual

◆ switch_streams() [1/2]

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

Implements FlexLexer.

◆ switch_streams() [2/2]

virtual void CUnitParser::switch_streams ( std::istream *  new_in = 0,
std::ostream *  new_out = 0 
)
virtual

Implements FlexLexer.

◆ yy_create_buffer() [1/2]

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

Implements FlexLexer.

◆ yy_create_buffer() [2/2]

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

Implements FlexLexer.

◆ yy_delete_buffer()

void CUnitParser::yy_delete_buffer ( yy_buffer_state b)
virtual

Implements FlexLexer.

◆ yy_flush_buffer()

void CUnitParser::yy_flush_buffer ( yy_buffer_state b)
protected

◆ yy_get_next_buffer()

int CUnitParser::yy_get_next_buffer ( )
protected

◆ yy_get_previous_state()

yy_state_type CUnitParser::yy_get_previous_state ( )
protected

◆ yy_init_buffer()

void CUnitParser::yy_init_buffer ( yy_buffer_state b,
std::istream &  s 
)
protected

◆ yy_load_buffer_state()

void CUnitParser::yy_load_buffer_state ( )
protected

◆ yy_pop_state()

void CUnitParser::yy_pop_state ( )
protected

◆ yy_push_state()

void CUnitParser::yy_push_state ( int  new_state)
protected

◆ yy_switch_to_buffer()

void CUnitParser::yy_switch_to_buffer ( yy_buffer_state new_buffer)
virtual

Implements FlexLexer.

◆ yy_top_state()

int CUnitParser::yy_top_state ( )
protected

◆ yy_try_NUL_trans()

yy_state_type CUnitParser::yy_try_NUL_trans ( yy_state_type  current_state)
protected

◆ yyensure_buffer_stack()

void CUnitParser::yyensure_buffer_stack ( void  )
protected

◆ yyinput()

int CUnitParser::yyinput ( )
protected

◆ yylex()

virtual int CUnitParser::yylex ( )
virtual

Implements FlexLexer.

◆ yypop_buffer_state()

void CUnitParser::yypop_buffer_state ( )

◆ yypush_buffer_state()

void CUnitParser::yypush_buffer_state ( yy_buffer_state new_buffer)

◆ yyrestart() [1/2]

void CUnitParser::yyrestart ( std::istream &  s)
virtual

Implements FlexLexer.

◆ yyrestart() [2/2]

void CUnitParser::yyrestart ( std::istream *  s)
virtual

Implements FlexLexer.

◆ yyunput()

void CUnitParser::yyunput ( int  c,
char *  buf_ptr 
)
protected

◆ yywrap()

int CUnitParser::yywrap ( )
virtual

Member Data Documentation

◆ yy_buffer_stack

yy_buffer_state** CUnitParser::yy_buffer_stack
protected

Stack as an array.

◆ yy_buffer_stack_max

size_t CUnitParser::yy_buffer_stack_max
protected

capacity of stack.

◆ yy_buffer_stack_top

size_t CUnitParser::yy_buffer_stack_top
protected

index of top of stack.

◆ yy_c_buf_p

char* CUnitParser::yy_c_buf_p
protected

◆ yy_did_buffer_switch_on_eof

int CUnitParser::yy_did_buffer_switch_on_eof
protected

◆ yy_full_lp

int CUnitParser::yy_full_lp
protected

◆ yy_full_match

char* CUnitParser::yy_full_match
protected

◆ yy_full_state

int* CUnitParser::yy_full_state
protected

◆ yy_hold_char

char CUnitParser::yy_hold_char
protected

◆ yy_init

int CUnitParser::yy_init
protected

◆ yy_last_accepting_cpos

char* CUnitParser::yy_last_accepting_cpos
protected

◆ yy_last_accepting_state

yy_state_type CUnitParser::yy_last_accepting_state
protected

◆ yy_looking_for_trail_begin

int CUnitParser::yy_looking_for_trail_begin
protected

◆ yy_lp

int CUnitParser::yy_lp
protected

◆ yy_more_flag

int CUnitParser::yy_more_flag
protected

◆ yy_more_len

int CUnitParser::yy_more_len
protected

◆ yy_more_offset

int CUnitParser::yy_more_offset
protected

◆ yy_n_chars

int CUnitParser::yy_n_chars
protected

◆ yy_prev_more_offset

int CUnitParser::yy_prev_more_offset
protected

◆ yy_start

int CUnitParser::yy_start
protected

◆ yy_start_stack

int* CUnitParser::yy_start_stack
protected

◆ yy_start_stack_depth

int CUnitParser::yy_start_stack_depth
protected

◆ yy_start_stack_ptr

int CUnitParser::yy_start_stack_ptr
protected

◆ yy_state_buf

yy_state_type* CUnitParser::yy_state_buf
protected

◆ yy_state_ptr

yy_state_type* CUnitParser::yy_state_ptr
protected

◆ yyin

std::istream CUnitParser::yyin
protected

◆ yyout

std::ostream CUnitParser::yyout
protected

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