MCPcopy Create free account
hub / github.com/LibreCAD/LibreCAD / ClearConst

Method ClearConst

libraries/muparser/src/muParserBase.cpp:1640–1645  ·  view source on GitHub ↗

------------------------------------------------------------------------------ \brief Clear all user defined constants. Both numeric and string constants will be removed from the internal storage. \post Resets the parser to string parsing mode. \throw nothrow */

Source from the content-addressed store, hash-verified

1638 \throw nothrow
1639 */
1640 void ParserBase::ClearConst()
1641 {
1642 m_ConstDef.clear();
1643 m_StrVarDef.clear();
1644 ReInit();
1645 }
1646
1647 //------------------------------------------------------------------------------
1648 /** \brief Clear all user defined postfix operators.

Callers 1

mupClearConstFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected