Loading [MathJax]/extensions/tex2jax.js
libSBML C++ API  5.20.4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
L3Parser.cpp File Reference

Macros

#define YYBISON   1
 
#define YYBISON_VERSION   "3.5.1"
 
#define YYPULL   1
 
#define YYPURE   0
 
#define YYPUSH   0
 
#define YYSKELETON_NAME   "yacc.c"
 

Functions

L3ParserSettings_tSBML_getDefaultL3ParserSettings ()
 
char * SBML_getLastParseL3Error ()
 
ASTNode_tSBML_parseL3Formula (const char *formula)
 
ASTNode_tSBML_parseL3FormulaWithModel (const char *formula, const Model_t *model)
 
ASTNode_tSBML_parseL3FormulaWithSettings (const char *formula, const L3ParserSettings_t *settings)
 

Macro Definition Documentation

◆ YYBISON

#define YYBISON   1

◆ YYBISON_VERSION

#define YYBISON_VERSION   "3.5.1"

◆ YYPULL

#define YYPULL   1

◆ YYPURE

#define YYPURE   0

◆ YYPUSH

#define YYPUSH   0

◆ YYSKELETON_NAME

#define YYSKELETON_NAME   "yacc.c"

Function Documentation

◆ SBML_getDefaultL3ParserSettings()

L3ParserSettings_t * SBML_getDefaultL3ParserSettings ( )

Returns a copy of the default Level 3 ("L3") formula parser settings.

◆ SBML_getLastParseL3Error()

char * SBML_getLastParseL3Error ( )

Returns the last error reported by the "L3" mathematical formula parser.

Examples
translateL3Math.cpp.

◆ SBML_parseL3Formula()

ASTNode_t * SBML_parseL3Formula ( const char *  formula)

Parses a text string as a mathematical formula and returns an AST representation of it.

Examples
qual_example1.cpp.

◆ SBML_parseL3FormulaWithModel()

ASTNode_t * SBML_parseL3FormulaWithModel ( const char *  formula,
const Model_t model 
)

Parses a text string as a mathematical formula using a Model to resolve symbols, and returns an AST representation of the result.

◆ SBML_parseL3FormulaWithSettings()

ASTNode_t * SBML_parseL3FormulaWithSettings ( const char *  formula,
const L3ParserSettings_t settings 
)

Parses a text string as a mathematical formula using specific parser settings and returns an AST representation of the result.

Examples
translateL3Math.cpp.