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

Method NewQualifier

interpreter/attributes.go:62–62  ·  view source on GitHub ↗

NewQualifier creates a qualifier on the target object with a given value. The 'val' may be an Attribute or any proto-supported map key type: bool, int, string, uint. The qualifier may consider the object type being qualified, if present. If absent, the qualification should be considered dynamic an

(objType *types.Type, qualID int64, val any, opt bool)

Source from the content-addressed store, hash-verified

60 // qualification should be considered dynamic and the qualification should still work, though
61 // it may be sub-optimal.
62 NewQualifier(objType *types.Type, qualID int64, val any, opt bool) (Qualifier, error)
63}
64
65// Qualifier marker interface for designating different qualifier values and where they appear

Callers 10

NewQualifierMethod · 0.65
makeQualifierFunction · 0.65
makeOptQualifierFunction · 0.65
attrQualifyFunction · 0.65
attrQualifyIfPresentFunction · 0.65
genAttrFunction · 0.65
planSelectMethod · 0.65
planCallIndexMethod · 0.65

Implementers 1

attrFactoryinterpreter/attributes.go

Calls

no outgoing calls

Tested by 5

NewQualifierMethod · 0.52
makeQualifierFunction · 0.52
makeOptQualifierFunction · 0.52
genAttrFunction · 0.52