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

Struct doubleQualifier

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

doubleQualifier qualifies a CEL object, map, or list using a double value. This qualifier is used for working with dynamic data like JSON or protobuf.Any where the value type may not be known ahead of time and may not conform to the standard types supported as valid protobuf map key types.

Source from the content-addressed store, hash-verified

1418// type may not be known ahead of time and may not conform to the standard types supported as valid
1419// protobuf map key types.
1420type doubleQualifier struct {
1421 id int64
1422 value float64
1423 celValue ref.Val
1424 adapter types.Adapter
1425 optional bool
1426 errorOnBadPresenceTest bool
1427}
1428
1429// ID is an implementation of the Qualifier interface method.
1430func (q *doubleQualifier) ID() int64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected