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

Method MatchExpr

unittests/catch.hpp:2696–2701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2694 StringRef m_matcherString;
2695 public:
2696 MatchExpr( ArgT const& arg, MatcherT const& matcher, StringRef matcherString )
2697 : ITransientExpression{ true, matcher.match( arg ) },
2698 m_arg( arg ),
2699 m_matcher( matcher ),
2700 m_matcherString( matcherString )
2701 {}
2702
2703 void streamReconstructedExpression( std::ostream &os ) const override {
2704 auto matcherAsString = m_matcher.toString();

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected