MCPcopy Create free account
hub / github.com/Genivia/ugrep / PatternMatcher

Method PatternMatcher

include/reflex/absmatcher.h:1755–1762  ·  view source on GitHub ↗

< pattern class of this matcher, a typedef of the PatternMatcher template parameter Copy constructor, the underlying pattern object is shared (not deep copied).

Source from the content-addressed store, hash-verified

1753 typedef P Pattern; ///< pattern class of this matcher, a typedef of the PatternMatcher template parameter
1754 /// Copy constructor, the underlying pattern object is shared (not deep copied).
1755 PatternMatcher(const PatternMatcher& matcher) ///< matcher with pattern to use (pattern may be shared)
1756 :
1757 AbstractMatcher(matcher.in, matcher.opt_),
1758 pat_(matcher.pat_),
1759 del_(false)
1760 {
1761 DBGLOG("PatternMatcher::PatternMatcher(matcher)");
1762 }
1763 /// Delete matcher, deletes pattern when owned
1764 virtual ~PatternMatcher()
1765 {

Callers

nothing calls this directly

Calls 1

InputClass · 0.85

Tested by

no test coverage detected