libSBML Perl API
libSBML 5.10.0 Perl API
|
Definition of the level 3 infix-to-mathml parser settings. More...
Classes | |
class | L3ParserSettings |
{core} A helper class for controlling the behavior of the text-string formula parser. More... | |
Macros | |
#define | L3P_AVOGADRO_IS_CSYMBOL true |
#define | L3P_AVOGADRO_IS_NAME false |
#define | L3P_COLLAPSE_UNARY_MINUS true |
#define | L3P_EXPAND_UNARY_MINUS false |
#define | L3P_NO_UNITS false |
#define | L3P_PARSE_UNITS true |
Enumerations | |
enum | ParseLogType_t { L3P_PARSE_LOG_AS_LOG10 = 0, L3P_PARSE_LOG_AS_LN = 1, L3P_PARSE_LOG_AS_ERROR = 2 } |
Configuration values for handling log in formulas. More... | |
Definition of the level 3 infix-to-mathml parser settings.
#define L3P_AVOGADRO_IS_CSYMBOL true |
Recognize 'avogadro' as an SBML Level 3 symbol.
#define L3P_AVOGADRO_IS_NAME false |
Do not treat 'avogadro' specially—consider it a plain symbol name.
#define L3P_COLLAPSE_UNARY_MINUS true |
Collapse unary minuses where possible.
#define L3P_EXPAND_UNARY_MINUS false |
Retain unary minuses in the AST representation.
#define L3P_NO_UNITS false |
Do not recognize units in text-string formulas—treat them as errors.
#define L3P_PARSE_UNITS true |
Parse units in text-string formulas.
enum ParseLogType_t |
Configuration values for handling log
in formulas.
The L3ParserSettings object can be used to modify the SBML L3 parser to translate the function log(x)
three different ways, each settable with this type enum.