MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / IsMatch

Method IsMatch

base/attribute.h:166–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164 bool IsWildcard() const { return !value_.has_value(); }
165
166 bool IsMatch(const AttributeQualifier& qualifier) const {
167 if (IsWildcard()) return true;
168 return value_.value() == qualifier;
169 }
170
171 bool IsMatch(absl::string_view other_key) const {
172 if (!value_.has_value()) return true;

Callers

nothing calls this directly

Calls 3

valueMethod · 0.45
has_valueMethod · 0.45
IsMatchMethod · 0.45

Tested by

no test coverage detected