libSBML C API
libSBML 5.20.2 C API
|
Definition of the level 3 infix-to-mathml parser C functions. More...
Functions | |
void | SBML_deleteL3Parser () |
@_tcond_t _tdoxygenLibsbmlInternal_t | |
L3ParserSettings_t * | SBML_getDefaultL3ParserSettings () |
_tReturns_t _ta_t _tcopy_t _tof_t _tthe_t _tdefault_t _tLevel_t&_tnbsp_t;_t3_t ("_tL3_t") _tformula_t _tparser_t _tsettings_t. | |
char * | SBML_getLastParseL3Error () |
_tReturns_t _tthe_t _tlast_t _terror_t _treported_t _tby_t _tthe_t "_tL3_t" _tmathematical_t _tformula_t _tparser_t. | |
ASTNode_t * | SBML_parseL3Formula (const char *formula) |
_tParses_t _ta_t _ttext_t _tstring_t _tas_t _ta_t _tmathematical_t _tformula_t _tand_t _treturns_t _tan_t _tAST_t _trepresentation_t _tof_t _tit_t. | |
ASTNode_t * | SBML_parseL3FormulaWithModel (const char *formula, const Model_t *model) |
_tParses_t _ta_t _ttext_t _tstring_t _tas_t _ta_t _tmathematical_t _tformula_t _tusing_t _ta_t _tModel_t _tto_t _tresolve_t _tsymbols_t, _tand_t _treturns_t _tan_t _tAST_t _trepresentation_t _tof_t _tthe_t _tresult_t. | |
ASTNode_t * | SBML_parseL3FormulaWithSettings (const char *formula, const L3ParserSettings_t *settings) |
_tParses_t _ta_t _ttext_t _tstring_t _tas_t _ta_t _tmathematical_t _tformula_t _tusing_t _tspecific_t _tparser_t _tsettings_t _tand_t _treturns_t _tan_t _tAST_t _trepresentation_t _tof_t _tthe_t _tresult_t. | |
Definition of the level 3 infix-to-mathml parser C functions.
void SBML_deleteL3Parser | ( | ) |
@_tcond_t _tdoxygenLibsbmlInternal_t
L3ParserSettings_t * SBML_getDefaultL3ParserSettings | ( | ) |
_tReturns_t _ta_t _tcopy_t _tof_t _tthe_t _tdefault_t _tLevel_t&_tnbsp_t;_t3_t ("_tL3_t") _tformula_t _tparser_t _tsettings_t.
_tThe_t _tdata_t _tstructure_t _tstoring_t _tthe_t _tsettings_t _tallows_t _tcallers_t _tto_t _tchange_t _tthe_t _tfollowing_t _tparsing_t _tbehaviors_t:
@_tcopydetails_t _tdoc_summary_of_string_math_l3_t
_tFor_t _tmore_t _tdetails_t _tabout_t _tthe_t _tparser_t, _tplease_t _tsee_t _tthe_t _tdefinition_t _tof_t _tL3ParserSettings_t _tand_t @_tsbmlfunction_t{_tparseL3Formula_t, _tString_t}.
@_tsee_t @_tsbmlfunction_t{_tparseL3Formula_t, _tString_t} @_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithSettings_t, _tString_t\, _tL3ParserSettings_t} @_tsee_t @_tsbmlfunction_t{_tformulaToL3StringWithSettings_t, _tASTNode_t\, _tL3ParserSettings_t} @_tsee_t _tL3ParserSettings_t
@_tif_t _tconly_t @_tmemberof_t _tL3ParserSettings_t_t @_tendif_t
char * SBML_getLastParseL3Error | ( | ) |
_tReturns_t _tthe_t _tlast_t _terror_t _treported_t _tby_t _tthe_t "_tL3_t" _tmathematical_t _tformula_t _tparser_t.
_tIf_t _tthe_t _tfunctions_t @_tsbmlfunction_t{_tparseL3Formula_t, _tString_t}, @_tsbmlfunction_t{_tparseL3FormulaWithSettings_t, _tString_t\, _tL3ParserSettings_t}, _tor_t @_tsbmlfunction_t{_tparseL3FormulaWithModel_t, _tString_t\, _tModel_t} _treturn_t @_tc_t _tNULL_t, _tan_t _terror_t _tis_t _tset_t _tinternally_t. _tThis_t _tfunction_t _tallows_t _tcallers_t _tto_t _tretrieve_t _tinformation_t _tabout_t _tthe_t _terror_t.
@_treturn_t _ta_t _tstring_t _tdescribing_t _tthe_t _terror_t _tthat_t _toccurred_t. _tThis_t _twill_t _tcontain_t _tthe_t _tinput_t _tstring_t _tthe_t _tparser_t _twas_t _ttrying_t _tto_t _tparse_t, _tthe_t _tcharacter_t _tit_t _thad_t _tparsed_t _twhen_t _tit_t _tencountered_t _tthe_t _terror_t, _tand_t _ta_t _tdescription_t _tof_t _tthe_t _terror_t.
@_tsee_t @_tsbmlfunction_t{_tparseL3Formula_t, _tString_t} @_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithSettings_t, _tString_t\, _tL3ParserSettings_t} @_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithModel_t, _tString_t\, _tModel_t} @_tsee_t @_tsbmlfunction_t{_tgetDefaultL3ParserSettings_t,}
@_tif_t _tconly_t @_tmemberof_t _tASTNode_t_t @_tendif_t
ASTNode_t * SBML_parseL3Formula | ( | const char * | formula | ) |
_tParses_t _ta_t _ttext_t _tstring_t _tas_t _ta_t _tmathematical_t _tformula_t _tand_t _treturns_t _tan_t _tAST_t _trepresentation_t _tof_t _tit_t.
@_tcopydetails_t _tdoc_summary_of_string_math_l3_t
@_tparam_t _tformula_t _tthe_t _ttext_t-_tstring_t _tformula_t _texpression_t _tto_t _tbe_t _tparsed_t.
@_treturn_t _tthe_t _troot_t _tnode_t _tof_t _tan_t _tAST_t _trepresenting_t _tthe_t _tmathematical_t _tformula_t, _tor_t @_tc_t _tNULL_t _tif_t _tan_t _terror_t _toccurred_t _twhile_t _tparsing_t _tthe_t _tformula_t. _tWhen_t @_tc_t _tNULL_t _tis_t _treturned_t, _tan_t _terror_t _tis_t _trecorded_t _tinternally_t; _tinformation_t _tabout_t _tthe_t _terror_t _tcan_t _tbe_t _tretrieved_t _tusing_t @_tsbmlfunction_t{_tgetLastParseL3Error_t,}.
@_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithSettings_t, _tString_t\, _tL3ParserSettings_t} @_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithModel_t, _tString_t\, _tModel_t} @_tsee_t @_tsbmlfunction_t{_tparseFormula_t, _tString_t} @_tsee_t @_tsbmlfunction_t{_tformulaToL3StringWithSettings_t, _tASTNode_t\, _tL3ParserSettings_t} @_tsee_t @_tsbmlfunction_t{_tformulaToL3String_t, _tASTNode_t} @_tsee_t @_tsbmlfunction_t{_tformulaToString_t, _tASTNode_t} @_tsee_t _tL3ParserSettings_t @_tsee_t @_tsbmlfunction_t{_tgetDefaultL3ParserSettings_t,} @_tsee_t @_tsbmlfunction_t{_tgetLastParseL3Error_t,}
@_tcopydetails_t _tdoc_note_math_string_syntax_t
@_tif_t _tconly_t @_tmemberof_t _tASTNode_t_t @_tendif_t
_tParses_t _ta_t _ttext_t _tstring_t _tas_t _ta_t _tmathematical_t _tformula_t _tusing_t _ta_t _tModel_t _tto_t _tresolve_t _tsymbols_t, _tand_t _treturns_t _tan_t _tAST_t _trepresentation_t _tof_t _tthe_t _tresult_t.
_tThis_t _tis_t _tidentical_t _tto_t @_tsbmlfunction_t{_tparseL3Formula_t, _tString_t}, _texcept_t _tthat_t _tthis_t _tfunction_t _tuses_t _tthe_t _tgiven_t _tmodel_t _tin_t _tthe_t _targument_t @_tp_t _tmodel_t _tto_t _tcheck_t _tagainst_t _tidentifiers_t _tthat_t _tappear_t _tin_t _tthe_t @_tp_t _tformula_t. _tFor_t _tmore_t _tinformation_t _tabout_t _tthe_t _tparser_t, _tplease_t _tsee_t _tthe_t _tdefinition_t _tof_t _tL3ParserSettings_t _tand_t _tthe_t _tfunction_t @_tsbmlfunction_t{_tparseL3Formula_t, _tString_t}.
@_tparam_t _tformula_t _tthe_t _tmathematical_t _tformula_t _texpression_t _tto_t _tbe_t _tparsed_t.
@_tparam_t _tmodel_t _tthe_t _tModel_t _tobject_t _tto_t _tuse_t _tfor_t _tchecking_t _tidentifiers_t.
@_treturn_t _tthe_t _troot_t _tnode_t _tof_t _tan_t _tAST_t _trepresenting_t _tthe_t _tmathematical_t _tformula_t, _tor_t @_tc_t _tNULL_t _tif_t _tan_t _terror_t _toccurred_t _twhile_t _tparsing_t _tthe_t _tformula_t. _tWhen_t @_tc_t _tNULL_t _tis_t _treturned_t, _tan_t _terror_t _tis_t _trecorded_t _tinternally_t; _tinformation_t _tabout_t _tthe_t _terror_t _tcan_t _tbe_t _tretrieved_t _tusing_t @_tsbmlfunction_t{_tgetLastParseL3Error_t,}.
@_tsee_t @_tsbmlfunction_t{_tparseL3Formula_t, _tString_t} @_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithSettings_t, _tString_t\, _tL3ParserSettings_t} @_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithModel_t, _tString_t\, _tModel_t} @_tsee_t @_tsbmlfunction_t{_tparseFormula_t, _tString_t} @_tsee_t @_tsbmlfunction_t{_tgetLastParseL3Error_t,} @_tsee_t _tL3ParserSettings_t
@_tif_t _tconly_t @_tmemberof_t _tASTNode_t_t @_tendif_t
ASTNode_t * SBML_parseL3FormulaWithSettings | ( | const char * | formula, |
const L3ParserSettings_t * | settings | ||
) |
_tParses_t _ta_t _ttext_t _tstring_t _tas_t _ta_t _tmathematical_t _tformula_t _tusing_t _tspecific_t _tparser_t _tsettings_t _tand_t _treturns_t _tan_t _tAST_t _trepresentation_t _tof_t _tthe_t _tresult_t.
_tThis_t _tis_t _tidentical_t _tto_t @_tsbmlfunction_t{_tparseL3Formula_t, _tString_t}, _texcept_t _tthat_t _tthis_t _tfunction_t _tuses_t _tthe_t _tparser_t _tsettings_t _tgiven_t _tin_t _tthe_t _targument_t @_tp_t _tsettings_t. _tThe_t _tsettings_t _toverride_t _tthe_t _tdefault_t _tparsing_t _tbehavior_t. _tThe_t _tfollowing_t _tparsing_t _tbehaviors_t _tcan_t _tbe_t _tconfigured_t:
@_tcopydetails_t _tdoc_l3_parser_configuration_options_t
_tFor_t _tmore_t _tdetails_t _tabout_t _tthe_t _tparser_t, _tplease_t _tsee_t _tthe_t _tdefinition_t _tof_t _tL3ParserSettings_t _tand_t @_tsbmlfunction_t{_tparseL3FormulaWithSettings_t, _tString_t\, _tL3ParserSettings_t}.
@_tparam_t _tformula_t _tthe_t _tmathematical_t _tformula_t _texpression_t _tto_t _tbe_t _tparsed_t.
@_tparam_t _tsettings_t _tthe_t _tsettings_t _tto_t _tbe_t _tused_t _tfor_t _tthis_t _tparser_t _tinvocation_t.
@_treturn_t _tthe_t _troot_t _tnode_t _tof_t _tan_t _tAST_t _trepresenting_t _tthe_t _tmathematical_t _tformula_t, _tor_t @_tc_t _tNULL_t _tif_t _tan_t _terror_t _toccurred_t _twhile_t _tparsing_t _tthe_t _tformula_t. _tWhen_t @_tc_t _tNULL_t _tis_t _treturned_t, _tan_t _terror_t _tis_t _trecorded_t _tinternally_t; _tinformation_t _tabout_t _tthe_t _terror_t _tcan_t _tbe_t _tretrieved_t _tusing_t @_tsbmlfunction_t{_tgetLastParseL3Error_t,}.
@_tsee_t @_tsbmlfunction_t{_tparseL3Formula_t, _tString_t} @_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithSettings_t, _tString_t\, _tL3ParserSettings_t} @_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithModel_t, _tString_t\, _tModel_t} @_tsee_t @_tsbmlfunction_t{_tparseFormula_t, _tString_t} @_tsee_t @_tsbmlfunction_t{_tgetLastParseL3Error_t,} @_tsee_t _tL3ParserSettings_t
@_tif_t _tconly_t @_tmemberof_t _tASTNode_t_t @_tendif_t