MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / simplify

Method simplify

src/App/Expression.cpp:1271–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1269}
1270
1271ExpressionPtr UnitExpression::simplify() const
1272{
1273 return std::make_unique<NumberExpression>(owner, quantity);
1274}
1275
1276void UnitExpression::_toString(std::ostream &ss, bool,int) const
1277{

Callers 3

parseUnitMethod · 0.45
parseExprMethod · 0.45
TEST_FFunction · 0.45

Calls 7

copyFunction · 0.70
moveFunction · 0.50
getMethod · 0.45
releaseMethod · 0.45
push_backMethod · 0.45
sizeMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected