#include <catalog.h>
Definition at line 30 of file catalog.h.
◆ GetMatchedText()
| std::string_view Catalog::Match::GetMatchedText |
( |
| ) |
const |
|
inline |
Definition at line 43 of file catalog.h.
43 {
44 if (matched_text_.empty()) {
45 return owned_matched_text_;
46 } else {
47 return matched_text_;
48 }
49 }
◆ GetMatcher()
| std::string_view Catalog::Match::GetMatcher |
( |
| ) |
const |
|
inline |
◆ MakeWithString()
| static Match Catalog::Match::MakeWithString |
( |
std::string_view |
matcher, |
|
|
std::string |
matched_text |
|
) |
| |
|
inlinestatic |
Definition at line 32 of file catalog.h.
33 {
34 return Match(matcher, std::move(matched_text));
35 }
◆ MakeWithView()
| static Match Catalog::Match::MakeWithView |
( |
std::string_view |
matcher, |
|
|
std::string_view |
matched_text |
|
) |
| |
|
inlinestatic |
Definition at line 37 of file catalog.h.
38 {
39 return Match(matcher, matched_text);
40 }
The documentation for this class was generated from the following file: