libSBML C++ API  libSBML 5.18.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 the given SBML formula and returns a representation of it as an Abstract Syntax Tree (AST). 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 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
See also
SBML_formulaToString()
SBML_parseL3FormulaWithSettings()
SBML_parseL3Formula()
SBML_parseL3FormulaWithModel()
SBML_getLastParseL3Error()
SBML_getDefaultL3ParserSettings()