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

Method Wildcard

interpreter/attribute_patterns.go:92–96  ·  view source on GitHub ↗

Wildcard adds a special sentinel qualifier pattern that will match any single qualifier.

()

Source from the content-addressed store, hash-verified

90
91// Wildcard adds a special sentinel qualifier pattern that will match any single qualifier.
92func (apat *AttributePattern) Wildcard() *AttributePattern {
93 apat.qualifierPatterns = append(apat.qualifierPatterns,
94 &AttributeQualifierPattern{wildcard: true})
95 return apat
96}
97
98// VariableMatches returns true if the fully qualified variable matches the AttributePattern
99// fully qualified variable name.

Callers 3

prune_test.goFile · 0.80
TestResidualAstMacrosFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestResidualAstMacrosFunction · 0.64