MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / FormatAnchor

Function FormatAnchor

extern/re2/re2/testing/tester.cc:148–156  ·  view source on GitHub ↗

Returns string representation of anchor kind.

Source from the content-addressed store, hash-verified

146
147// Returns string representation of anchor kind.
148static std::string FormatAnchor(Prog::Anchor anchor) {
149 switch (anchor) {
150 case Prog::kAnchored:
151 return "anchored";
152 case Prog::kUnanchored:
153 return "unanchored";
154 }
155 return "???";
156}
157
158struct ParseMode {
159 Regexp::ParseFlags parse_flags;

Callers 2

RunCaseMethod · 0.85
LogMatchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected