libSBML Perl API  libSBML 5.17.2 Perl API
FormulaParser.cpp File Reference
Include dependency graph for FormulaParser.cpp:

Functions

ASTNode_tSBML_parseFormula (const char *formula)
 Parses the given SBML formula and returns a representation of it as an Abstract Syntax Tree (AST). More...
 

Function Documentation

◆ SBML_parseFormula()

ASTNode_t* SBML_parseFormula ( const char *  formula)

Parses the given SBML formula and returns a representation of it as an Abstract Syntax Tree (AST).

Parameters
formulathe text-string formula expression to be parsed
Returns
the root node of the AST corresponding to the formula, or NULL if an error occurred in parsing the formula