libSBML C API
libSBML 5.20.2 C API
|
Definition of the level 3 infix-to-mathml parser settings. More...
Macros | |
#define | L3P_AVOGADRO_IS_CSYMBOL true |
_tRecognize_t '_tavogadro_t' _tas_t _tan_t _tSBML_t _tLevel_t _t3_t _tsymbol_t. | |
#define | L3P_AVOGADRO_IS_NAME false |
_tDo_t _tnot_t _ttreat_t '_tavogadro_t' _tspecially_t—_tconsider_t _tit_t _ta_t _tplain_t _tsymbol_t _tname_t. | |
#define | L3P_COLLAPSE_UNARY_MINUS true |
_tCollapse_t _tunary_t _tminuses_t _twhere_t _tpossible_t. | |
#define | L3P_COMPARE_BUILTINS_CASE_INSENSITIVE false |
_tTreat_t _tall_t _tforms_t _tof_t _tbuilt_t-_tin_t _tfunctions_t _tas_t _treferencing_t _tthat_t _tfunction_t, _tregardless_t _tof_t _tthe_t _tcapitalization_t _tof_t _tthat_t _tstring_t. | |
#define | L3P_COMPARE_BUILTINS_CASE_SENSITIVE true |
_tTreat_t _tonly_t _tthe_t _tall_t-_tlower_t-_tcase_t _tform_t _tof_t _tbuilt_t-_tin_t _tfunctions_t _tas_t _treferencing_t _tthat_t _tfunction_t, _tand_t _tall_t _tother_t _tforms_t _tof_t _tcapitalization_t _tof_t _tthat_t _tstring_t _tas_t _treferencing_t _tuser_t-_tdefined_t _tfunctions_t _tor_t _tvalues_t. | |
#define | L3P_EXPAND_UNARY_MINUS false |
_tRetain_t _tunary_t _tminuses_t _tin_t _tthe_t _tAST_t _trepresentation_t. | |
#define | L3P_MODULO_IS_PIECEWISE false |
_tParse_t _tthe_t % _tsymbol_t _tas_t _tan_t _texpanded_t '_tpiecewise_t' _tfunction_t (_tvalid_t _tin_t _tall_t _tlevels_t/_tversions_t). | |
#define | L3P_MODULO_IS_REM true |
_tParse_t _tthe_t % _tsymbol_t _tas_t _tthe_t _tl3v2_t-_tallowed_t '_trem_t' _tsymbol_t. | |
#define | L3P_NO_UNITS false |
_tDo_t _tnot_t _trecognize_t _tunits_t _tin_t _ttext_t-_tstring_t _tformulas_t—_ttreat_t _tthem_t _tas_t _terrors_t. | |
#define | L3P_PARSE_L3V2_FUNCTIONS_AS_GENERIC false |
_tParse_t _tthe_t % _tsymbol_t _tas_t _tan_t _texpanded_t '_tpiecewise_t' _tfunction_t (_tvalid_t _tin_t _tall_t _tlevels_t/_tversions_t). | |
#define | L3P_PARSE_L3V2_FUNCTIONS_DIRECTLY true |
_tParse_t _tthe_t _tfunctions_t _tadded_t _tin_t _tl3v2_t. | |
#define | L3P_PARSE_PACKAGE_MATH_AS_GENERIC false |
_tParse_t _tthe_t '' _tsymbol_t _tas_t _tan_t _texpanded_t '_tpiecewise_t' _tfunction_t (_tvalid_t _tin_t _tall_t _tlevels_t/_tversions_t). | |
#define | L3P_PARSE_PACKAGE_MATH_DIRECTLY true |
_tParse_t _tthe_t _tfunctions_t _tadded_t _tin_t _tdistrib_t. | |
#define | L3P_PARSE_UNITS true |
_tParse_t _tunits_t _tin_t _ttext_t-_tstring_t _tformulas_t. | |
Enumerations | |
enum | L3ParserGrammarLineType_t { INFIX_SYNTAX_NAMED_SQUARE_BRACKETS , INFIX_SYNTAX_CURLY_BRACES , INFIX_SYNTAX_CURLY_BRACES_SEMICOLON } |
enum | ParseLogType_t { L3P_PARSE_LOG_AS_LOG10 = 0 , L3P_PARSE_LOG_AS_LN = 1 , L3P_PARSE_LOG_AS_ERROR = 2 } |
@_tclass_t _tdoc_use_of_model_t More... | |
Functions | |
L3ParserSettings_t * | L3ParserSettings_create () |
_tCreates_t _ta_t _tnew_t _tL3ParserSettings_t_t _tstructure_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tit_t | |
void | L3ParserSettings_free (L3ParserSettings_t *settings) |
_tFrees_t _tthe_t _tgiven_t _tL3ParserSettings_t_t _tstructure_t. | |
const Model_t * | L3ParserSettings_getModel (const L3ParserSettings_t *settings) |
_tRetrieves_t _tthe_t _tmodel_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
int | L3ParserSettings_getParseAvogadroCsymbol (const L3ParserSettings_t *settings) |
_tRetrieves_t _tthe_t _tavogadro_t _tcsymbol_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
int | L3ParserSettings_getParseCollapseMinus (const L3ParserSettings_t *settings) |
_tRetrieves_t _tthe_t _tcollapse_t _tminus_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
ParseLogType_t | L3ParserSettings_getParseLog (const L3ParserSettings_t *settings) |
_tRetrieves_t _tthe_t _tlog_t _tparsing_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
int | L3ParserSettings_getParseModuloL3v2 (const L3ParserSettings_t *settings) |
_tIndicates_t _tthe_t _tcurrent_t _tbehavior_t _tset_t _tfor_t _thandling_t _tthe_t % _tsymbol_t _tin_t _tmathematical_t _tformulas_t. | |
int | L3ParserSettings_getParseUnits (const L3ParserSettings_t *settings) |
_tRetrieves_t _tthe_t _tunits_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
void | L3ParserSettings_setModel (L3ParserSettings_t *settings, const Model_t *model) |
_tSets_t _tthe_t _tmodel_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t _tto_t _tthe_t _tprovided_t _tpointer_t. | |
void | L3ParserSettings_setParseAvogadroCsymbol (L3ParserSettings_t *settings, int flag) |
_tSets_t _tthe_t _tavogadro_t _tcsymbol_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
void | L3ParserSettings_setParseCollapseMinus (L3ParserSettings_t *settings, int flag) |
_tSets_t _tthe_t _tcollapse_t _tminus_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
void | L3ParserSettings_setParseLog (L3ParserSettings_t *settings, ParseLogType_t type) |
_tSets_t _tthe_t _tlog_t _tparsing_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
void | L3ParserSettings_setParseModuloL3v2 (const L3ParserSettings_t *settings, int modulol3v2) |
_tSets_t _tthe_t _tbehavior_t _tfor_t _thandling_t _tthe_t % _tsymbol_t _tin_t _tmathematical_t _tformulas_t. | |
void | L3ParserSettings_setParseUnits (L3ParserSettings_t *settings, int flag) |
_tSets_t _tthe_t _tunits_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
void | L3ParserSettings_unsetModel (L3ParserSettings_t *settings) |
_tUnsets_t _tthe_t _tmodel_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. | |
void | L3ParserSettings_visitPackageInfixSyntax (const ASTNode_t *parent, const ASTNode_t *node, StringBuffer_t *sb, const L3ParserSettings_t *settings) |
_tVisits_t _tthe_t _tgiven_t _tASTNode_t_t _tand_t _tcontinues_t _tthe_t _tinorder_t _ttraversal_t _tfor_t _tnodes_t _twhose_t _tsyntax_t _tare_t _tdetermined_t _tby_t _tpackages_t. | |
Definition of the level 3 infix-to-mathml parser settings.
#define L3P_AVOGADRO_IS_CSYMBOL true |
_tRecognize_t '_tavogadro_t' _tas_t _tan_t _tSBML_t _tLevel_t _t3_t _tsymbol_t.
@_tsee_t _tL3ParserSettings_t::_tgetParseAvogadroCsymbol_t() @_tsee_t _tL3ParserSettings_t::_tsetParseAvogadroCsymbol_t()
#define L3P_AVOGADRO_IS_NAME false |
_tDo_t _tnot_t _ttreat_t '_tavogadro_t' _tspecially_t—_tconsider_t _tit_t _ta_t _tplain_t _tsymbol_t _tname_t.
@_tsee_t _tL3ParserSettings_t::_tgetParseAvogadroCsymbol_t() @_tsee_t _tL3ParserSettings_t::_tsetParseAvogadroCsymbol_t()
#define L3P_COLLAPSE_UNARY_MINUS true |
_tCollapse_t _tunary_t _tminuses_t _twhere_t _tpossible_t.
@_tsee_t _tL3ParserSettings_t::_tgetParseCollapseMinus_t() @_tsee_t _tL3ParserSettings_t::_tsetParseCollapseMinus_t()
#define L3P_COMPARE_BUILTINS_CASE_INSENSITIVE false |
_tTreat_t _tall_t _tforms_t _tof_t _tbuilt_t-_tin_t _tfunctions_t _tas_t _treferencing_t _tthat_t _tfunction_t, _tregardless_t _tof_t _tthe_t _tcapitalization_t _tof_t _tthat_t _tstring_t.
@_tsee_t _tL3ParserSettings_t::_tgetComparisonCaseSensitivity_t() @_tsee_t _tL3ParserSettings_t::_tsetComparisonCaseSensitivity_t()
#define L3P_COMPARE_BUILTINS_CASE_SENSITIVE true |
_tTreat_t _tonly_t _tthe_t _tall_t-_tlower_t-_tcase_t _tform_t _tof_t _tbuilt_t-_tin_t _tfunctions_t _tas_t _treferencing_t _tthat_t _tfunction_t, _tand_t _tall_t _tother_t _tforms_t _tof_t _tcapitalization_t _tof_t _tthat_t _tstring_t _tas_t _treferencing_t _tuser_t-_tdefined_t _tfunctions_t _tor_t _tvalues_t.
@_tsee_t _tL3ParserSettings_t::_tgetComparisonCaseSensitivity_t() @_tsee_t _tL3ParserSettings_t::_tsetComparisonCaseSensitivity_t()
#define L3P_EXPAND_UNARY_MINUS false |
_tRetain_t _tunary_t _tminuses_t _tin_t _tthe_t _tAST_t _trepresentation_t.
@_tsee_t _tL3ParserSettings_t::_tgetParseCollapseMinus_t() @_tsee_t _tL3ParserSettings_t::_tsetParseCollapseMinus_t()
#define L3P_MODULO_IS_PIECEWISE false |
_tParse_t _tthe_t % _tsymbol_t _tas_t _tan_t _texpanded_t '_tpiecewise_t' _tfunction_t (_tvalid_t _tin_t _tall_t _tlevels_t/_tversions_t).
@_tsee_t _tL3ParserSettings_t::_tgetParseModuloL3v2_t() @_tsee_t _tL3ParserSettings_t::_tsetParseModuloL3v2_t()
#define L3P_MODULO_IS_REM true |
_tParse_t _tthe_t % _tsymbol_t _tas_t _tthe_t _tl3v2_t-_tallowed_t '_trem_t' _tsymbol_t.
@_tsee_t _tL3ParserSettings_t::_tgetParseModuloL3v2_t() @_tsee_t _tL3ParserSettings_t::_tsetParseModuloL3v2_t()
#define L3P_NO_UNITS false |
_tDo_t _tnot_t _trecognize_t _tunits_t _tin_t _ttext_t-_tstring_t _tformulas_t—_ttreat_t _tthem_t _tas_t _terrors_t.
@_tsee_t _tL3ParserSettings_t::_tgetParseUnits_t() @_tsee_t _tL3ParserSettings_t::_tsetParseUnits_t()
#define L3P_PARSE_L3V2_FUNCTIONS_AS_GENERIC false |
_tParse_t _tthe_t % _tsymbol_t _tas_t _tan_t _texpanded_t '_tpiecewise_t' _tfunction_t (_tvalid_t _tin_t _tall_t _tlevels_t/_tversions_t).
@_tsee_t _tL3ParserSettings_t::_tgetParseL3v2Functions_t() @_tsee_t _tL3ParserSettings_t::_tsetParseL3v2Functions_t()
#define L3P_PARSE_L3V2_FUNCTIONS_DIRECTLY true |
_tParse_t _tthe_t _tfunctions_t _tadded_t _tin_t _tl3v2_t.
@_tsee_t _tL3ParserSettings_t::_tgetParseL3v2Functions_t() @_tsee_t _tL3ParserSettings_t::_tsetParseL3v2Functions_t()
#define L3P_PARSE_PACKAGE_MATH_AS_GENERIC false |
_tParse_t _tthe_t '' _tsymbol_t _tas_t _tan_t _texpanded_t '_tpiecewise_t' _tfunction_t (_tvalid_t _tin_t _tall_t _tlevels_t/_tversions_t).
@_tsee_t _tL3ParserSettings_t::_tgetParseDistribFunctions_t() @_tsee_t _tL3ParserSettings_t::_tsetParseDistribFunctions_t()
#define L3P_PARSE_PACKAGE_MATH_DIRECTLY true |
_tParse_t _tthe_t _tfunctions_t _tadded_t _tin_t _tdistrib_t.
@_tsee_t _tL3ParserSettings_t::_tgetParseDistribFunctions_t() @_tsee_t _tL3ParserSettings_t::_tsetParseDistribFunctions_t()
#define L3P_PARSE_UNITS true |
_tParse_t _tunits_t _tin_t _ttext_t-_tstring_t _tformulas_t.
@_tsee_t _tL3ParserSettings_t::_tgetParseUnits_t() @_tsee_t _tL3ParserSettings_t::_tsetParseUnits_t()
enum ParseLogType_t |
@_tclass_t _tdoc_use_of_model_t
@_tpar_t _tWhen_t _ta_t _tModel_t _tobject_t _tis_t _tprovided_t, _tidentifiers_t (_tvalues_t _tof_t _ttype_t @_tc_t _tSId_t) _tfrom_t _tthat_t _tmodel_t _tare_t _tused_t _tin_t _tpreference_t _tto_t _tpre_t-_tdefined_t _tMathML_t _tsymbol_t _tdefinitions_t. _tMore_t _tprecisely_t, _tthe_t _tModel_t _tentities_t _twhose_t _tidentifiers_t _twill_t _tshadow_t _tidentical_t _tsymbols_t _tin_t _tthe_t _tmathematical_t _tformula_t _tare_t: _tSpecies_t, _tCompartment_t, _tParameter_t, _tReaction_t, _tand_t _tSpeciesReference_t. _tFor_t _tinstance_t, _tif_t _tthe_t _tparser_t _tis_t _tgiven_t _ta_t _tModel_t _tcontaining_t _ta_t _tSpecies_t _twith_t _tthe_t _tidentifier_t &_tquot_t;<_tcode_t>_tpi_t</_tcode_t>&_tquot_t;, _tand_t _tthe_t _tformula_t _tto_t _tbe_t _tparsed_t _tis_t &_tquot_t;<_tcode_t>_t3_t*_tpi_t</_tcode_t>&_tquot_t;, _tthe_t _tMathML_t _tproduced_t _twill_t _tcontain_t _tthe_t _tconstruct_t <_tcode_t>&_tlt_t;_tci_t&_tgt_t; _tpi_t &_tlt_t;/_tci_t&_tgt_t;</_tcode_t> _tinstead_t _tof_t _tthe_t _tconstruct_t <_tcode_t>&_tlt_t;_tpi_t/&_tgt_t;</_tcode_t>. _tSimilarly_t, _twhen_t _ta_t _tModel_t _tobject_t _tis_t _tprovided_t, @_tc_t _tSId_t _tvalues_t _tof_t _tuser_t-_tdefined_t _tfunctions_t _tpresent_t _tin_t _tthe_t _tModel_t _twill_t _tbe_t _tused_t _tpreferentially_t _tover_t _tpre_t-_tdefined_t _tMathML_t _tfunctions_t. _tFor_t _texample_t, _tif_t _tthe_t _tpassed_t-_tin_t _tModel_t _tcontains_t _ta_t _tFunctionDefinition_t _twith_t _tthe_t _tidentifier_t &_tquot_t;<_tcode_t>_tsin_t</_tcode_t>&_tquot_t;, _tthat_t _tfunction_t _twill_t _tbe_t _tused_t _tinstead_t _tof_t _tthe_t _tpredefined_t _tMathML_t _tfunction_t <_tcode_t>&_tlt_t;_tsin_t/&_tgt_t;</_tcode_t>.
@_tclass_t _tdoc_unary_minus_settings_t
@_tpar_t _tThis_t _tsetting_t _taffects_t _ttwo_t _tbehaviors_t. _tFirst_t, _tpairs_t _tof_t _tmultiple_t _tunary_t _tminuses_t _tin_t _ta_t _trow_t (_te_t._tg_t., &_tquot_t;<_tcode_t>- -_t3_t</_tcode_t>&_tquot_t;) _tcan_t _tbe_t _tcollapsed_t _tand_t _tignored_t _tin_t _tthe_t _tinput_t, _tor_t _tthe_t _tmultiple_t _tminuses_t _tcan_t _tbe_t _tpreserved_t _tin_t _tthe_t _tAST_t _tnode_t _ttree_t _tthat_t _tis_t _tgenerated_t _tby_t _tthe_t _tparser_t. _tSecond_t, _tminus_t _tsigns_t _tin_t _tfront_t _tof_t _tnumbers_t _tcan_t _tbe_t _tcollapsed_t _tinto_t _tthe_t _tnumber_t _tnode_t _titself_t; _tfor_t _texample_t, _ta_t &_tquot_t;<_tcode_t>- _t4_t._t1_t</_tcode_t>&_tquot_t; _tcan_t _tbe_t _tturned_t _tinto_t _ta_t _tsingle_t _tASTNode_t _tof_t _ttype_t @_tsbmlconstant_t{_tAST_REAL_t,_tASTNodeType_t_t} _twith_t _ta_t _tvalue_t _tof_t <_tcode_t>-_t4_t._t1_t</_tcode_t>, _tor_t _tit_t _tcan_t _tbe_t _tturned_t _tinto_t _ta_t _tnode_t _tof_t _ttype_t @_tsbmlconstant_t{_tAST_MINUS_t,_tASTNodeType_t_t} _thaving_t _ta_t _tchild_t _tnode_t _tof_t _ttype_t @_tsbmlconstant_t{_tAST_REAL_t,_tASTNodeType_t_t}.
@_tclass_t _tdoc_unary_minus_values_t
<_tul_t> <_tli_t> @_tsbmlconstant_t{_tL3P_COLLAPSE_UNARY_MINUS_t,} (_tvalue_t = @_tc_t _ttrue_t): _tcollapse_t _tunary_t _tminuses_t _twhere_t _tpossible_t. <_tli_t> @_tsbmlconstant_t{_tL3P_EXPAND_UNARY_MINUS_t,} (_tvalue_t = @_tc_t _tfalse_t): _tdo_t _tnot_t _tcollapse_t _tunary_t _tminuses_t, _tand_t _tinstead_t _ttranslate_t _teach_t _tone_t _tinto_t _tan_t _tAST_t _tnode_t _tof_t _ttype_t @_tsbmlconstant_t{_tAST_MINUS_t,_tASTNodeType_t_t}. </_tul_t>
@_tclass_t _tdoc_parsing_units_t
@_tpar_t _tIn_t _tSBML_t _tLevel_t&_tnbsp_t;_t2_t, _tthere_t _tis_t _tno_t _tmeans_t _tof_t _tassociating_t _ta_t _tunit_t _tof_t _tmeasurement_t _twith_t _ta_t _tpure_t _tnumber_t _tin_t _ta_t _tformula_t, _twhile_t _tSBML_t _tLevel_t&_tnbsp_t;_t3_t _tdoes_t _tdefine_t _ta_t _tsyntax_t _tfor_t _tthis_t. _tIn_t _tLevel_t&_tnbsp_t;_t3_t, _tMathML_t <_tcode_t>&_tlt_t;_tcn_t&_tgt_t;</_tcode_t> _telements_t _tcan_t _thave_t _tan_t _tattribute_t _tnamed_t @_tc_t _tunits_t _tplaced_t _tin_t _tthe_t _tSBML_t _tnamespace_t, _twhich_t _tcan_t _tbe_t _tused_t _tto_t _tindicate_t _tthe_t _tunits_t _tto_t _tbe_t _tassociated_t _twith_t _tthe_t _tnumber_t. _tThe_t _ttext_t-_tstring_t _tinfix_t _tformula_t _tparser_t _tallows_t _tunits_t _tto_t _tbe_t _tplaced_t _tafter_t _traw_t _tnumbers_t; _tthey_t _tare_t _tinterpreted_t _tas_t _tunit_t _tidentifiers_t _tfor_t _tunits_t _tdefined_t _tby_t _tthe_t _tSBML_t _tspecification_t _tor_t _tin_t _tthe_t _tcontaining_t _tModel_t _tobject_t. _tSome_t _texamples_t _tinclude_t: &_tquot_t;<_tcode_t>_t4_t _tmL_t</_tcode_t>&_tquot_t;, &_tquot_t;<_tcode_t>_t2_t._t01_t _tHz_t</_tcode_t>&_tquot_t;, &_tquot_t;<_tcode_t>_t3_t._t1e_t-_t6_t _tM_t</_tcode_t>&_tquot_t;, _tand_t &_tquot_t;<_tcode_t>(_t5_t/_t8_t) _tinches_t</_tcode_t>&_tquot_t;. _tTo_t _tproduce_t _ta_t _tvalid_t _tSBML_t _tmodel_t, _tthere_t _tmust_t _teither_t _texist_t _ta_t _tUnitDefinition_t _tcorresponding_t _tto_t _tthe_t _tidentifier_t _tof_t _tthe_t _tunit_t, _tor_t _tthe_t _tunit_t _tmust_t _tbe_t _tdefined_t _tin_t _tTable_t&_tnbsp_t;_t2_t _tof_t _tthe_t _tSBML_t _tLevel_t&_tnbsp_t;_t3_t _tspecification_t.
@_tclass_t _tdoc_parsing_units_values_t
<_tul_t> <_tli_t> @_tsbmlconstant_t{_tL3P_PARSE_UNITS_t,} (_tvalue_t = @_tc_t _ttrue_t): _tparse_t _tunits_t _tin_t _tthe_t _ttext_t-_tstring_t _tformula_t. <_tli_t> @_tsbmlconstant_t{_tL3P_NO_UNITS_t,} (_tvalue_t = @_tc_t _tfalse_t): _ttreat_t _tunits_t _tin_t _tthe_t _ttext_t-_tstring_t _tformula_t _tas_t _terrors_t. </_tul_t>
@_tclass_t _tdoc_parsing_avogadro_t
@_tpar_t _tSBML_t _tLevel_t&_tnbsp_t;_t3_t _tdefines_t _ta_t _tsymbol_t _tfor_t _trepresenting_t _tthe_t _tvalue_t _tof_t _tAvogadro_t'_ts_t _tconstant_t, _tbut_t _tit_t _tis_t _tnot_t _tdefined_t _tin_t _tSBML_t _tLevel_t&_tnbsp_t;_t2_t. _tAs_t _ta_t _tresult_t, _tthe_t _ttext_t-_tstring_t _tformula_t _tparser_t _tmust_t _tbehave_t _tdifferently_t _tdepending_t _ton_t _twhich_t _tSBML_t _tLevel_t _tis_t _tbeing_t _ttargeted_t. _tFor_t _tLevel_t&_tnbsp_t;_t3_t _tdocuments_t, _tit_t _tcan_t _tinterpret_t _tinstances_t _tof_t @_tc_t _tavogadro_t _tin_t _tthe_t _tinput_t _tas_t _ta_t _treference_t _tto_t _tthe_t _tMathML_t @_tem_t _tcsymbol_t _tfor_t _tAvogadro_t'_ts_t _tconstant_t _tdefined_t _tin_t _tthe_t _tSBML_t _tLevel_t&_tnbsp_t;_t3_t _tspecification_t. _tFor_t _tLevel_t&_tnbsp_t;_t2_t, _tit_t _tmust_t _ttreat_t @_tc_t _tavogadro_t _tas_t _tjust_t _tanother_t _tplain_t _tsymbol_t.
@_tclass_t _tdoc_avogadro_values_t
<_tul_t> <_tli_t> @_tsbmlconstant_t{_tL3P_AVOGADRO_IS_CSYMBOL_t,} (_tvalue_t = @_tc_t _ttrue_t): _ttells_t _tthe_t _tparser_t _tto_t _ttranslate_t _tthe_t _tstring_t @_tc_t _tavogadro_t (_tin_t _tany_t _tcapitalization_t) _tinto_t _tan_t _tAST_t _tnode_t _tof_t _ttype_t @_tsbmlconstant_t{_tAST_NAME_AVOGADRO_t,_tASTNodeType_t_t}. <_tli_t> @_tsbmlconstant_t{_tL3P_AVOGADRO_IS_NAME_t,} (_tvalue_t = @_tc_t _tfalse_t): _ttells_t _tthe_t _tparser_t _tto_t _ttranslate_t _tthe_t _tstring_t @_tc_t _tavogadro_t _tinto_t _tan_t _tAST_t _tof_t _ttype_t @_tsbmlconstant_t{_tAST_NAME_t,_tASTNodeType_t_t}. </_tul_t>
@_tclass_t _tdoc_case_sensitivity_t
@_tpar_t _tBy_t _tdefault_t (_twhich_t _tis_t _tthe_t _tvalue_t @_tsbmlconstant_t{_tL3P_COMPARE_BUILTINS_CASE_INSENSITIVE_t,}), _tthe_t _tparser_t _tcompares_t _tsymbols_t _tin_t _ta_t _tcase_t @_tem_t _tinsensitive_t _tmanner_t _tfor_t _tbuilt_t-_tin_t _tfunctions_t _tsuch_t _tas_t @_tc_t "_tsin_t" _tand_t @_tc_t "_tpiecewise_t", _tand_t _tfor_t _tconstants_t _tsuch_t _tas_t @_tc_t "_ttrue_t" _tand_t @_tc_t "_tavogadro_t". _tSetting_t _tthis_t _toption_t _tto_t @_tsbmlconstant_t{_tL3P_COMPARE_BUILTINS_CASE_SENSITIVE_t,} _tcauses_t _tthe_t _tparser_t _tto_t _tbecome_t _tcase_t _tsensitive_t. _tIn_t _tthat_t _tmode_t, _tfor_t _texample_t, _tthe_t _tsymbols_t @_tc_t "_tsin_t" _tand_t @_tc_t "_ttrue_t" _twill_t _tmatch_t _tthe_t _tbuilt_t-_tin_t _tvalues_t, _tbut_t _tthe_t _tsymbols_t @_tc_t "_tSIN_t", @_tc_t "_tSin_t", @_tc_t "_tTrue_t", @_tc_t "_tTRUE_t", _tand_t _tso_t _ton_t, _twill_t _tnot_t.
@_tclass_t _tdoc_modulo_l3v2_settings_t
@_tpar_t _tThis_t _tsetting_t _taffects_t _twhether_t _tthe_t % _tsymbol_t (_tmodulo_t) _tis_t _tparsed_t _tas_t _ta_t _tpiecewise_t _tequation_t _tthat_t _treturns_t _tthe_t _tmodulo_t _tvalue_t _tof_t _tthe_t _tentries_t _ton_t _teither_t _tside_t _tof_t _tthe_t _tsymbol_t, _tor_t _twhether_t _tit_t _tis_t _tparsed_t _tas_t _tthe_t _tMathML_t '_trem_t' _tfunction_t, _twhich_t _twas_t _tallowed_t _tin_t _tSBML_t _tLevel_t&_tnbsp_t;_t3_t _tVersion_t&_tnbsp_t;_t2_t, _tbut_t _tnot_t _tin_t _tprevious_t _tlevel_t/_tversions_t. _tThe_t _tlatter_t _tis_t _tmore_t _tsuccinct_t, _tbut_t _tmight_t _tnot_t _tbe_t _tlegal_t _tSBML_t _tfor_t _tthe_t _tdesired_t _ttarget_t _tSBML_t _tdocument_t.
@_tclass_t _tdoc_modulo_l3v2_values_t
<_tul_t> <_tli_t> @_tsbmlconstant_t{_tL3P_MODULO_IS_REM_t,} (_tvalue_t = @_tc_t _ttrue_t): _tuse_t _tthe_t '_trem_t' _tMathML_t _tfunction_t (@_tsbmlconstant_t{_tAST_FUNCTION_REM_t,_tASTNodeType_t_t}). <_tli_t> @_tsbmlconstant_t{_tL3P_MODULO_IS_PIECEWISE_t,} (_tvalue_t = @_tc_t _tfalse_t): _tuse_t _ta_t _tpiecewise_t _tfunction_t (@_tsbmlconstant_t{_tAST_FUNCTION_PIECEWISE_t,_tASTNodeType_t_t}) _tto_t _tencode_t _tthe_t _tmodulo_t _trule_t _texplicitly_t. </_tul_t>
@_tclass_t _tdoc_l3v2_function_settings_t
@_tpar_t _tThis_t _tsetting_t _taffects_t _twhether_t _tthe_t _tnames_t _tof_t _tfunctions_t _tadded_t _tin_t _tSBML_t _tLevel_t&_tnbsp_t;_t3_t _tVersion_t&_tnbsp_t;_t2_t _tare_t _tparsed_t _tas_t _tthose_t _tadded_t _tMathML_t _tfunctions_t, _tor_t _twhether_t _tthey_t _tare_t _tadded_t _tas_t _tgeneric_t _tfunctions_t _twith_t _tthose_t _tnames_t (_tto_t _tbe_t _tused_t _tin_t _tSBML_t _tas_t _tfunction_t _tdefinitions_t).
@_tclass_t _tdoc_l3v2_function_values_t
<_tul_t> <_tli_t> @_tsbmlconstant_t{_tL3P_PARSE_L3V2_FUNCTIONS_DIRECTLY_t,} (_tvalue_t = @_tc_t _ttrue_t): _tparse_t _tthe_t _tstrings_t <_tcode_t>_trateOf_t</_tcode_t>, <_tcode_t>_timplies_t</_tcode_t>, <_tcode_t>_tmax_t</_tcode_t>, <_tcode_t>_tmin_t</_tcode_t>, <_tcode_t>_tquotient_t</_tcode_t>, _tand_t <_tcode_t>_trem_t</_tcode_t> _tas_t @_tsbmlconstant_t{_tAST_FUNCTION_RATE_OF_t,_tASTNodeType_t_t}, @_tsbmlconstant_t{_tAST_LOGICAL_IMPLIES_t,_tASTNodeType_t_t}, @_tsbmlconstant_t{_tAST_FUNCTION_MAX_t,_tASTNodeType_t_t}, @_tsbmlconstant_t{_tAST_FUNCTION_MIN_t,_tASTNodeType_t_t}, @_tsbmlconstant_t{_tAST_FUNCTION_QUOTIENT_t,_tASTNodeType_t_t}, _tand_t @_tsbmlconstant_t{_tAST_FUNCTION_REM_t,_tASTNodeType_t_t}, _trespectively_t. <_tli_t> @_tsbmlconstant_t{_tL3P_PARSE_L3V2_FUNCTIONS_AS_GENERIC_t,} (_tvalue_t = @_tc_t _tfalse_t): _tparse_t _tthe_t _tstrings_t <_tcode_t>_trateOf_t</_tcode_t>, <_tcode_t>_timplies_t</_tcode_t>, <_tcode_t>_tmax_t</_tcode_t>, <_tcode_t>_tmin_t</_tcode_t>, <_tcode_t>_tquotient_t</_tcode_t>, _tand_t <_tcode_t>_trem_t</_tcode_t> _tall_t _tas_t @_tsbmlconstant_t{_tAST_FUNCTION_t,_tASTNodeType_t_t} _twith_t _tthe_t _tappropriate_t _tname_t _tset_t. </_tul_t>
@_tclass_t _tdoc_package_math_settings_t
@_tpar_t _tThis_t _tsetting_t _taffects_t _twhether_t _tthe_t _tmath_t _tadded_t _tin_t _ta_t _tgiven_t _tSBML_t _tLevel_t&_tnbsp_t;_t3_t _tpackage_t _tare_t _tparsed_t _tas_t _tthose_t _tadded_t _tMathML_t _telements_t, _tor_t _twhether_t _tthey_t _tare_t _tadded_t _tas_t _tgeneric_t _tfunctions_t _tor_t _tvariables_t _twith_t _tthose_t _tnames_t.
@_tclass_t _tdoc_package_math_values_t
<_tul_t> <_tli_t> @_tsbmlconstant_t{_tL3P_PARSE_PACKAGE_MATH_DIRECTLY_t,} (_tvalue_t = @_tc_t _ttrue_t): _tparse_t _tany_t _tstring_t _tdefined_t _tin_t _ta_t _tgiven_t _tSBML_t _tL3_t _tpackage_t _tas_t _tits_t _tcorresponding_t _tASTType_t_t. <_tli_t> @_tsbmlconstant_t{_tL3P_PARSE_PACKAGE_MATH_AS_GENERIC_t,} (_tvalue_t = @_tc_t _tfalse_t): _tparse_t _tany_t _tstring_t _tthat_t _twould_t _thave_t _tbeen_t _tdefined_t _tin_t _tthe_t _tgiven_t _tSBML_t _tL3_t _tpackage_t _tas_t @_tsbmlconstant_t{_tAST_FUNCTION_t,_tASTNodeType_t_t} _tor_t @_tsbmlconstant_t{_tAST_NAME_t,_tASTNodeType_t_t} _twith_t _tthe_t _tappropriate_t _tname_t _tset_t. </_tul_t>
@_tenum_t _tParseLogType_t_t @_tbrief_t _tConfiguration_t _tvalues_t _tfor_t _thandling_t _tthe_t @_tc_t _tlog_t _tfunction_t _tin_t _tmathematical_t _tformulas_t.
_tThe_t _tL3ParserSettings_t _tobject_t _tcan_t _tbe_t _tused_t _tto_t _tmodify_t _tthe_t _tbehavior_t _tof_t _tthe_t _tSBML_t _tLevel_t&_tnbsp_t;_t3_t-_toriented_t _tformula_t _tparser_t. _tOne_t _tof_t _tthe_t _tbehaviors_t _tthat_t _tcan_t _tbe_t _tmodified_t _tis_t _thow_t _tit_t _tshould_t _ttranslate_t _tthe_t _tfunction_t <_tcode_t>_tlog_t(_tx_t)</_tcode_t>. _tIt_t _thas_t _tthree_t _tdifferent_t _tbehavior_t _tmodes_t, _teach_t _tsettable_t _tusing_t _tvalues_t _tfrom_t _tthis_t _tenumeration_t.
@_tsee_t _tL3ParserSettings_t @_tsee_t @_tsbmlfunction_t{_tparseL3FormulaWithSettings_t, _tString_t\, _tL3ParserSettings_t} @_tsee_t @_tsbmlfunction_t{_tformulaToL3StringWithSettings_t, _tASTNode_t\, _tL3ParserSettings_t}
L3ParserSettings_t * L3ParserSettings_create | ( | ) |
_tCreates_t _ta_t _tnew_t _tL3ParserSettings_t_t _tstructure_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tit_t
@_tnote_t _tThis_t _tfunctions_t _tsets_t _tthe_t _tModel_t* _tto_t _tNULL_t, _tand_t _tother_t _tsettings_t _tto_t @_tsbmlconstant_t{_tL3P_PARSE_LOG_AS_LOG10_t,_tParseLogType_t_t}, @_tsbmlconstant_t{_tL3P_EXPAND_UNARY_MINUS_t,}, @_tsbmlconstant_t{_tL3P_PARSE_UNITS_t,}, _tand_t @_tsbmlconstant_t{_tL3P_AVOGADRO_IS_CSYMBOL_t,}.
@_treturn_t _ta_t _tpointer_t _tto_t _tthe_t _tnewly_t _tcreated_t _tL3ParserSettings_t_t _tstructure_t.
@_tmemberof_t _tL3ParserSettings_t_t
_tCreates_t _ta_t _tnew_t _tL3ParserSettings_t_t _tstructure_t _tand_t _treturns_t _ta_t _tpointer_t _tto_t _tit_t
@_tcond_t _tdoxygenIgnored_t
void L3ParserSettings_free | ( | L3ParserSettings_t * | settings | ) |
_tFrees_t _tthe_t _tgiven_t _tL3ParserSettings_t_t _tstructure_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tto_t _tfree_t.
@_tmemberof_t _tL3ParserSettings_t_t
const Model_t * L3ParserSettings_getModel | ( | const L3ParserSettings_t * | settings | ) |
_tRetrieves_t _tthe_t _tmodel_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _tfrom_t _twhich_t _tto_t _tget_t _tthe_t _tModel_t_t.
@_treturn_t _tthe_t _tModel_t_t _tstructure_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
@_tmemberof_t _tL3ParserSettings_t_t
int L3ParserSettings_getParseAvogadroCsymbol | ( | const L3ParserSettings_t * | settings | ) |
_tRetrieves_t _tthe_t _tavogadro_t _tcsymbol_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _tfrom_t _twhich_t _tto_t _tget_t _tthe_t _toption_t.
@_treturn_t _tan_t _tinteger_t _tindicating_t _twhether_t _tavogadro_t _tshould_t _tbe_t _tconsidered_t _tas_t _ta_t _tcsymbol_t (@_tc_t _t1_t ; _ttrue_t) _tor_t _tnot_t (@_tc_t _t0_t ; _tfalse_t). _tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t @_tp_t _tsettings_t _tis_t @_tc_t _tNULL_t.
@_tmemberof_t _tL3ParserSettings_t_t
int L3ParserSettings_getParseCollapseMinus | ( | const L3ParserSettings_t * | settings | ) |
_tRetrieves_t _tthe_t _tcollapse_t _tminus_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
_tThis_t _toption_t _tallows_t _tthe_t _tuser_t _tto_t _tspecify_t _thow_t _tinfix_t _texpressions_t _tlike_t '- -_t4_t' _tare_t _tparsed_t _tin_t _ta_t _tMathML_t _tASTNode_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _tfrom_t _twhich_t _tto_t _tget_t _tthe_t _toption_t.
@_treturn_t _tan_t _tinteger_t _tindicating_t _twhether_t _tunary_t _tminus_t _tshould_t _tbe_t _tcollapsed_t (@_tc_t _t1_t ; _ttrue_t) _tor_t _tnot_t (@_tc_t _t0_t ; _tfalse_t). _tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t @_tp_t _tsettings_t _tis_t @_tc_t _tNULL_t.
@_tmemberof_t _tL3ParserSettings_t_t
ParseLogType_t L3ParserSettings_getParseLog | ( | const L3ParserSettings_t * | settings | ) |
_tRetrieves_t _tthe_t _tlog_t _tparsing_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
_tThis_t _toption_t _tallows_t _tthe_t _tuser_t _tto_t _tspecify_t _thow_t _tthe_t _tinfix_t _texpression_t '_tlog_t(_tx_t)' _tis_t _tparsed_t _tin_t _ta_t _tMathML_t _tASTNode_t. _tThe_t _toptions_t _tare_t: @_tli_t @_tsbmlconstant_t{_tL3P_PARSE_LOG_AS_LOG10_t,_tParseLogType_t_t} (_t0_t) @_tli_t @_tsbmlconstant_t{_tL3P_PARSE_LOG_AS_LN_t,_tParseLogType_t_t} (_t1_t) @_tli_t @_tsbmlconstant_t{_tL3P_PARSE_LOG_AS_ERROR_t,_tParseLogType_t_t} (_t2_t)
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _ton_t _twhich_t _tto_t _tset_t _tthe_t _tModel_t_t.
@_treturn_t _tParseLogType_t_t _tlog_t _tparsing_t _toption_t _tto_t _tassociate_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t. _tReturns_t @_tsbmlconstant_t{_tL3P_PARSE_LOG_AS_LOG10_t,_tParseLogType_t_t} (_t0_t) _tif_t @_tp_t _tsettings_t _tis_t @_tc_t _tNULL_t.
@_tmemberof_t _tL3ParserSettings_t_t
int L3ParserSettings_getParseModuloL3v2 | ( | const L3ParserSettings_t * | settings | ) |
_tIndicates_t _tthe_t _tcurrent_t _tbehavior_t _tset_t _tfor_t _thandling_t _tthe_t % _tsymbol_t _tin_t _tmathematical_t _tformulas_t.
@_tcopydetails_t _tdoc_modulo_l3v2_settings_t
@_treturn_t _ta_t _tboolean_t _tindicating_t _tthe_t _tbehavior_t _tcurrently_t _tset_t. _tThe_t _tpossible_t _tvalues_t _tare_t _tas_t _tfollows_t: @_tcopydetails_t _tdoc_modulo_l3v2_values_t
@_tsee_t _tL3ParserSettings_setParseModuloL3v2_t(@_tif_t _tjava_t _tboolean_t@_tendif_t)
@_tmemberof_t _tL3ParserSettings_t_t
int L3ParserSettings_getParseUnits | ( | const L3ParserSettings_t * | settings | ) |
_tRetrieves_t _tthe_t _tunits_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _tfrom_t _twhich_t _tto_t _tget_t _tthe_t _toption_t.
@_treturn_t _tan_t _tinteger_t _tindicating_t _twhether_t _tnumbers_t _tshould_t _tbe_t _tconsidered_t _tas_t _ta_t _thaving_t _tunits_t (@_tc_t _t1_t ; _ttrue_t) _tor_t _tnot_t (@_tc_t _t0_t ; _tfalse_t). _tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t @_tp_t _tsettings_t _tis_t @_tc_t _tNULL_t.
@_tmemberof_t _tL3ParserSettings_t_t
void L3ParserSettings_setModel | ( | L3ParserSettings_t * | settings, |
const Model_t * | model | ||
) |
_tSets_t _tthe_t _tmodel_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t _tto_t _tthe_t _tprovided_t _tpointer_t.
@_tnote_t _tA_t _tcopy_t _tof_t _tthe_t _tModel_t_t _tis_t _tnot_t _tmade_t, _tso_t _tmodifications_t _tto_t _tthe_t _tModel_t_t _titself_t _tmay_t _taffect_t _tfuture_t _tparsing_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _ton_t _twhich_t _tto_t _tset_t _tthe_t _tModel_t_t. @_tparam_t _tmodel_t _tthe_t _tModel_t_t _tstructure_t _tto_t _twhich_t _tinfix_t _tstrings_t _tare_t _tto_t _tbe_t _tcompared_t.
@_tmemberof_t _tL3ParserSettings_t_t
void L3ParserSettings_setParseAvogadroCsymbol | ( | L3ParserSettings_t * | settings, |
int | flag | ||
) |
_tSets_t _tthe_t _tavogadro_t _tcsymbol_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _ton_t _twhich_t _tto_t _tset_t _tthe_t _toption_t. @_tparam_t _tflag_t _tan_t _tinteger_t _tindicating_t _twhether_t _tavogadro_t _tshould_t _tbe_t _tconsidered_t _tas_t _ta_t _tcsymbol_t (@_tc_t _t1_t ; _ttrue_t) _tor_t _tnot_t (@_tc_t _t0_t ; _tfalse_t). _tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t @_tp_t _tsettings_t _tis_t @_tc_t _tNULL_t.
@_tmemberof_t _tL3ParserSettings_t_t
void L3ParserSettings_setParseCollapseMinus | ( | L3ParserSettings_t * | settings, |
int | flag | ||
) |
_tSets_t _tthe_t _tcollapse_t _tminus_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
_tThis_t _toption_t _tallows_t _tthe_t _tuser_t _tto_t _tspecify_t _thow_t _tinfix_t _texpressions_t _tlike_t '- -_t4_t' _tare_t _tparsed_t _tin_t _ta_t _tMathML_t _tASTNode_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _ton_t _twhich_t _tto_t _tset_t _tthe_t _toption_t. @_tparam_t _tflag_t _tan_t _tinteger_t _tindicating_t _twhether_t _tunary_t _tminus_t _tshould_t _tbe_t _tcollapsed_t (@_tc_t _t1_t ; _ttrue_t) _tor_t _tnot_t (@_tc_t _t0_t ; _tfalse_t). _tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t @_tp_t _tsettings_t _tis_t @_tc_t _tNULL_t.
@_tmemberof_t _tL3ParserSettings_t_t
void L3ParserSettings_setParseLog | ( | L3ParserSettings_t * | settings, |
ParseLogType_t | type | ||
) |
_tSets_t _tthe_t _tlog_t _tparsing_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
_tThis_t _toption_t _tallows_t _tthe_t _tuser_t _tto_t _tspecify_t _thow_t _tthe_t _tinfix_t _texpression_t '_tlog_t(_tx_t)' _tis_t _tparsed_t _tin_t _ta_t _tMathML_t _tASTNode_t. _tThe_t _toptions_t _tare_t: @_tli_t @_tsbmlconstant_t{_tL3P_PARSE_LOG_AS_LOG10_t,_tParseLogType_t_t} (_t0_t) @_tli_t @_tsbmlconstant_t{_tL3P_PARSE_LOG_AS_LN_t,_tParseLogType_t_t} (_t1_t) @_tli_t @_tsbmlconstant_t{_tL3P_PARSE_LOG_AS_ERROR_t,_tParseLogType_t_t} (_t2_t)
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _ton_t _twhich_t _tto_t _tset_t _tthe_t _toption_t. @_tparam_t _ttype_t _tParseLogType_t_t _tlog_t _tparsing_t _toption_t _tto_t _tassociate_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
@_tmemberof_t _tL3ParserSettings_t_t
void L3ParserSettings_setParseModuloL3v2 | ( | const L3ParserSettings_t * | settings, |
int | modulol3v2 | ||
) |
_tSets_t _tthe_t _tbehavior_t _tfor_t _thandling_t _tthe_t % _tsymbol_t _tin_t _tmathematical_t _tformulas_t.
@_tcopydetails_t _tdoc_modulo_l3v2_settings_t
_tThis_t _tmethod_t _tlets_t _tyou_t _ttell_t _tthe_t _tparser_t _twhich_t _tbehavior_t _tto_t _tuse_t—_teither_t _tcollapse_t _tminuses_t _tor_t _talways_t _tpreserve_t _tthem_t. _tThe_t _ttwo_t _tpossibilities_t _tare_t _trepresented_t _tusing_t _tthe_t _tfollowing_t _tconstants_t:
@_tcopydetails_t _tdoc_modulo_l3v2_values_t
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _tto_t _tmodify_t. @_tparam_t _tmodulol3v2_t _ta_t _tboolean_t _tvalue_t (_tone_t _tof_t _tthe_t _tconstants_t @_tsbmlconstant_t{_tL3P_MODULO_IS_PIECEWISE_t,} _tor_t @_tsbmlconstant_t{_tL3P_MODULO_IS_REM_t,}) _tindicating_t _thow_t _tthe_t % _tsymbol_t _tin_t _tthe_t _tinput_t _tshould_t _tbe_t _thandled_t.
@_tsee_t _tL3ParserSettings_getParseModuloL3v2_t()
@_tmemberof_t _tL3ParserSettings_t_t
void L3ParserSettings_setParseUnits | ( | L3ParserSettings_t * | settings, |
int | flag | ||
) |
_tSets_t _tthe_t _tunits_t _toption_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _ton_t _twhich_t _tto_t _tset_t _tthe_t _toption_t. @_tparam_t _tflag_t _tan_t _tinteger_t _tindicating_t _twhether_t _tnumbers_t _tshould_t _tbe_t _tconsidered_t _tas_t _ta_t _thaving_t _tunits_t (@_tc_t _t1_t ; _ttrue_t) _tor_t _tnot_t (@_tc_t _t0_t ; _tfalse_t). _tReturns_t @_tc_t _t0_t (_tfalse_t) _tif_t @_tp_t _tsettings_t _tis_t @_tc_t _tNULL_t.
@_tmemberof_t _tL3ParserSettings_t_t
void L3ParserSettings_unsetModel | ( | L3ParserSettings_t * | settings | ) |
_tUnsets_t _tthe_t _tmodel_t _tassociated_t _twith_t _tthis_t _tL3ParserSettings_t_t _tstructure_t.
@_tparam_t _tsettings_t _tthe_t _tL3ParserSettings_t_t _tstructure_t _ton_t _twhich_t _tto_t _tunset_t _tthe_t _tModel_t_t.
@_tmemberof_t _tL3ParserSettings_t_t
void L3ParserSettings_visitPackageInfixSyntax | ( | const ASTNode_t * | parent, |
const ASTNode_t * | node, | ||
StringBuffer_t * | sb, | ||
const L3ParserSettings_t * | settings | ||
) |
_tVisits_t _tthe_t _tgiven_t _tASTNode_t_t _tand_t _tcontinues_t _tthe_t _tinorder_t _ttraversal_t _tfor_t _tnodes_t _twhose_t _tsyntax_t _tare_t _tdetermined_t _tby_t _tpackages_t.
_tVisits_t _tthe_t _tgiven_t _tASTNode_t_t _tand_t _tcontinues_t _tthe_t _tinorder_t _ttraversal_t _tfor_t _tnodes_t _twhose_t _tsyntax_t _tare_t _tdetermined_t _tby_t _tpackages_t.