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

Struct doubleQualifier

interpreter/attributes.go:1232–1239  ·  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

1230// type may not be known ahead of time and may not conform to the standard types supported as valid
1231// protobuf map key types.
1232type doubleQualifier struct {
1233 id int64
1234 value float64
1235 celValue ref.Val
1236 adapter types.Adapter
1237 optional bool
1238 errorOnBadPresenceTest bool
1239}
1240
1241// ID is an implementation of the Qualifier interface method.
1242func (q *doubleQualifier) ID() int64 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected