package
0.24.1
Repository: https://github.com/google/cel-go.git
Documentation: pkg.go.dev

# Functions

CollectFileDescriptorSet builds a file descriptor set associated with the file where the input message is declared.
Equal returns whether two proto.Message instances are equal using the following criteria: - Messages must share the same instance of the type descriptor - Known set fields are compared using semantics equality - Bytes are compared using bytes.Equal - Scalar values are compared with operator == - List and map types are equal if they have the same length and all elements are equal - Messages are equal if they share the same descriptor and all set fields are equal - Unknown fields are compared using byte equality - NaN values are not equal to each other - google.protobuf.Any values are unpacked before comparison - If the type descriptor for a protobuf.Any cannot be found, byte equality is used rather than semantic equality.
Merge will copy the source proto message into the destination, or error if the merge cannot be completed.
NewDb creates a new `pb.Db` with an empty type name to file description map.

# Variables

CheckedPrimitives map from proto field descriptor type to expr.Type.
CheckedWellKnowns map from qualified proto type name to expr.Type for well-known proto types.
DefaultDb used at evaluation time or unless overridden at check time.

# Structs

Db maps from file / message / enum name to file description.
EnumValueDescription maps a fully-qualified enum value name to its numeric value.
FieldDescription holds metadata related to fields declared within a type.
FileDescription holds a map of all types and enum values declared within a proto file.
Map wraps the protoreflect.Map object with a key and value FieldDescription for use in retrieving individual elements within CEL value data types.
TypeDescription is a collection of type metadata relevant to expression checking and evaluation.