MCPcopy Create free account
hub / github.com/cel-expr/cel-go / attributeMatcher

Struct attributeMatcher

interpreter/attribute_patterns.go:342–346  ·  view source on GitHub ↗

attributeMatcher embeds the NamespacedAttribute interface which allows it to participate in AttributePattern matching against Attribute values without having to modify the code paths that identify Attributes in expressions.

Source from the content-addressed store, hash-verified

340// AttributePattern matching against Attribute values without having to modify the code paths that
341// identify Attributes in expressions.
342type attributeMatcher struct {
343 NamespacedAttribute
344 qualifiers []Qualifier
345 fac *partialAttributeFactory
346}
347
348// AddQualifier implements the Attribute interface method.
349func (m *attributeMatcher) AddQualifier(qual Qualifier) (Attribute, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected