MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / LazyExpression

Class LazyExpression

unittests/catch.hpp:1519–1534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1517 class RunContext;
1518
1519 class LazyExpression {
1520 friend class AssertionHandler;
1521 friend struct AssertionStats;
1522 friend class RunContext;
1523
1524 ITransientExpression const* m_transientExpression = nullptr;
1525 bool m_isNegated;
1526 public:
1527 LazyExpression( bool isNegated );
1528 LazyExpression( LazyExpression const& other );
1529 LazyExpression& operator = ( LazyExpression const& ) = delete;
1530
1531 explicit operator bool() const;
1532
1533 friend auto operator << ( std::ostream& os, LazyExpression const& lazyExpr ) -> std::ostream&;
1534 };
1535
1536 struct AssertionReaction {
1537 bool shouldDebugBreak = false;

Callers 5

reportExprMethod · 0.85
handleMessageMethod · 0.85
handleIncompleteMethod · 0.85
handleNonExprMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected