copasi API  0.1
Public Member Functions | Protected Member Functions | Protected Attributes
CChemEqParser Class Reference

#include <CChemEqParser.h>

Inheritance diagram for CChemEqParser:
FlexLexer yyYaccParser

List of all members.

Public Member Functions

 CChemEqParser (std::istream *arg_yyin=0, std::ostream *arg_yyout=0)
virtual ~CChemEqParser ()
void yy_switch_to_buffer (struct yy_buffer_state *new_buffer)
struct yy_buffer_stateyy_create_buffer (std::istream *s, int size)
void yy_delete_buffer (struct yy_buffer_state *b)
void yyrestart (std::istream *s)
void yypush_buffer_state (struct yy_buffer_state *new_buffer)
void yypop_buffer_state (void)
virtual int yylex ()
virtual void switch_streams (std::istream *new_in, std::ostream *new_out)

Protected Member Functions

virtual int LexerInput (char *buf, int max_size)
virtual void LexerOutput (const char *buf, int size)
virtual void LexerError (const char *msg)
void yyunput (int c, char *buf_ptr)
int yyinput ()
void yy_load_buffer_state ()
void yy_init_buffer (struct yy_buffer_state *b, std::istream *s)
void yy_flush_buffer (struct yy_buffer_state *b)
void yy_push_state (int new_state)
void yy_pop_state ()
int yy_top_state ()
yy_state_type yy_get_previous_state ()
yy_state_type yy_try_NUL_trans (yy_state_type current_state)
int yy_get_next_buffer ()
void yyensure_buffer_stack (void)

Protected Attributes

int yy_start_stack_ptr
int yy_start_stack_depth
int * yy_start_stack
std::istream * yyin
std::ostream * yyout
struct yy_buffer_stateyy_current_buffer
char yy_hold_char
int yy_n_chars
char * yy_c_buf_p
int yy_init
int yy_start
int yy_did_buffer_switch_on_eof
size_t yy_buffer_stack_top
size_t yy_buffer_stack_max
struct yy_buffer_state ** yy_buffer_stack
yy_state_type yy_last_accepting_state
char * yy_last_accepting_cpos
yy_state_typeyy_state_buf
yy_state_typeyy_state_ptr
char * yy_full_match
int * yy_full_state
int yy_full_lp
int yy_lp
int yy_looking_for_trail_begin
int yy_more_flag
int yy_more_len
int yy_more_offset
int yy_prev_more_offset

Constructor & Destructor Documentation

CChemEqParser::CChemEqParser ( std::istream *  arg_yyin = 0,
std::ostream *  arg_yyout = 0 
)
virtual CChemEqParser::~CChemEqParser ( ) [virtual]

Member Function Documentation

void yyFlexLexer::LexerError ( const char *  msg) [protected, virtual]
virtual int CChemEqParser::LexerInput ( char *  buf,
int  max_size 
) [protected, virtual]
virtual void CChemEqParser::LexerOutput ( const char *  buf,
int  size 
) [protected, virtual]
void yyFlexLexer::switch_streams ( std::istream *  new_in,
std::ostream *  new_out 
) [virtual]
YY_BUFFER_STATE yyFlexLexer::yy_create_buffer ( std::istream *  file,
int  size 
) [read]

Allocate and initialize an input buffer state.

Parameters:
fileA readable stream.
sizeThe character buffer size in bytes. When in doubt, use YY_BUF_SIZE.
Returns:
the allocated buffer state.
void yyFlexLexer::yy_delete_buffer ( struct yy_buffer_state b) [virtual]

Destroy the buffer.

Parameters:
ba buffer created with yy_create_buffer()

Implements FlexLexer.

void yyFlexLexer::yy_flush_buffer ( struct yy_buffer_state b) [protected]

Discard all buffered characters. On the next scan, YY_INPUT will be called.

Parameters:
bthe buffer state to be flushed, usually YY_CURRENT_BUFFER.
int CChemEqParser::yy_get_next_buffer ( ) [protected]
yy_state_type CChemEqParser::yy_get_previous_state ( ) [protected]
void yyFlexLexer::yy_init_buffer ( struct yy_buffer_state b,
std::istream *  s 
) [protected]
void CChemEqParser::yy_load_buffer_state ( ) [protected]
void CChemEqParser::yy_pop_state ( ) [protected]
void CChemEqParser::yy_push_state ( int  new_state) [protected]
void yyFlexLexer::yy_switch_to_buffer ( struct yy_buffer_state new_buffer) [virtual]

Switch to a different input buffer.

Parameters:
new_bufferThe new input buffer.

Implements FlexLexer.

int CChemEqParser::yy_top_state ( ) [protected]
yy_state_type CChemEqParser::yy_try_NUL_trans ( yy_state_type  current_state) [protected]
void CChemEqParser::yyensure_buffer_stack ( void  ) [protected]
int CChemEqParser::yyinput ( ) [protected]
virtual int CChemEqParser::yylex ( ) [virtual]

Implements FlexLexer.

void CChemEqParser::yypop_buffer_state ( void  )
void yyFlexLexer::yypush_buffer_state ( struct yy_buffer_state new_buffer)

Pushes the new state onto the stack. The new state becomes the current state. This function will allocate the stack if necessary.

Parameters:
new_bufferThe new state.
void yyFlexLexer::yyrestart ( std::istream *  input_file)

Immediately switch to a different input stream.

Parameters:
input_fileA readable stream.
Note:
This function does not reset the start condition to INITIAL .
void yyFlexLexer::yyunput ( int  c,
char *  buf_ptr 
) [protected]

Member Data Documentation

Stack as an array.

capacity of stack.

index of top of stack.

char* CChemEqParser::yy_c_buf_p [protected]
int CChemEqParser::yy_full_lp [protected]
char* CChemEqParser::yy_full_match [protected]
int* CChemEqParser::yy_full_state [protected]
char CChemEqParser::yy_hold_char [protected]
int CChemEqParser::yy_init [protected]
int CChemEqParser::yy_lp [protected]
int CChemEqParser::yy_more_flag [protected]
int CChemEqParser::yy_more_len [protected]
int CChemEqParser::yy_n_chars [protected]
int CChemEqParser::yy_start [protected]
std::istream* CChemEqParser::yyin [protected]
std::ostream* CChemEqParser::yyout [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines