|
COPASI API
4.40.278
|
#include <CUnitParser.h>
Classes | |
| struct | Data |
Public Member Functions | |
| 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 | yylex ()=0 |
| virtual int | yyparse () |
| virtual | ~ CUnitParserBase () |
Protected Member Functions | |
| void | correctErrorPosition () |
Protected Attributes | |
| std::string | mNewSymbol |
| std::string | mOldSymbol |
| const CUnitDefinition * | mpCurrentUnitDef |
| unsigned C_INT32 | mPosition |
| CUnit * | mpUnit |
| std::string | mReplacedExpression |
| std::set< std::string > | mSymbols |
This is a base class for the CUnitParser adding member attributes to enhance the internal functionality.
| CUnitParserBase::CUnitParserBase | ( | ) |
Default constructor
|
virtual |
Destructor
|
protected |
| const std::set< CUnitComponent > & CUnitParserBase::getComponents | ( | ) | const |
References CUnit::getComponents(), and mpUnit.
Referenced by CUnit::compile().
| const std::string & CUnitParserBase::getReplacedExpression | ( | ) | const |
References mReplacedExpression.
Referenced by CUnit::replaceSymbol().
| const std::set< std::string > & CUnitParserBase::getSymbols | ( | ) | const |
References mSymbols.
Referenced by CUnit::compile().
| void CUnitParserBase::replaceSymbol | ( | const std::string & | oldSymbol, |
| const std::string & | newSymbol | ||
| ) |
References mNewSymbol, and mOldSymbol.
Referenced by CUnit::replaceSymbol().
|
pure virtual |
Implemented in CUnitParser.
|
virtual |
References YY_, YY_ASSERT, YY_CAST, YY_IGNORE_USELESS_CAST_BEGIN, YY_IGNORE_USELESS_CAST_END, YYABORT, YYACCEPT, yychar, YYDPRINTF, YYEMPTY, YYFINAL, YYINITDEPTH, YYMAXDEPTH, yynerrs, YYNSTATES, YYPTRDIFF_T, YYSIZE_T, YYSIZEOF, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYSTYPE, and yyalloc::yyvs_alloc.
Referenced by CUnit::compile(), and CUnit::replaceSymbol().
|
protected |
Referenced by replaceSymbol().
|
protected |
Referenced by replaceSymbol().
|
protected |
|
protected |
|
protected |
Referenced by getComponents().
|
protected |
Referenced by getReplacedExpression().
|
protected |
Referenced by getSymbols().