libSBML Perl API  libSBML 5.17.2 Perl 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