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

Method QualString

interpreter/attribute_patterns.go:63–67  ·  view source on GitHub ↗

QualString adds a string qualifier pattern to the AttributePattern. The string may be a valid identifier, or string map key including empty string.

(pattern string)

Source from the content-addressed store, hash-verified

61// QualString adds a string qualifier pattern to the AttributePattern. The string may be a valid
62// identifier, or string map key including empty string.
63func (apat *AttributePattern) QualString(pattern string) *AttributePattern {
64 apat.qualifierPatterns = append(apat.qualifierPatterns,
65 &AttributeQualifierPattern{value: pattern})
66 return apat
67}
68
69// QualInt adds an int qualifier pattern to the AttributePattern. The index may be either a map or
70// list index.

Calls

no outgoing calls