libSBML C++ API  libSBML 5.19.0 C++ API
FormulaParser.h File Reference

Parses an SBML formula string into an AST. More...

Include dependency graph for FormulaParser.h:
This graph shows which files directly or indirectly include this file:

Functions

ASTNode_tSBML_parseFormula (const char *formula)
 Parses a text string as a mathematical formula and returns an AST representation of it. More...
 

Detailed Description

Parses an SBML formula string into an AST.

Author
Ben Bornstein

Function Documentation

◆ SBML_parseFormula()

ASTNode_t* SBML_parseFormula ( const char *  formula)

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

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
See also
SBML_parseL3Formula()