A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/google/cel-go@v0.25.0/common/types/ref below:

ref package - github.com/google/cel-go/common/types/ref - Go Packages

Package ref contains the reference interfaces used throughout the types components.

This section is empty.

This section is empty.

This section is empty.

FieldGetter is used to get the field value from an input object, if set.

type FieldTester func(target any) bool

FieldTester is used to test field presence on an input object.

FieldType represents a field's type value and whether that field supports presence detection.

Deprecated: use types.FieldType

type Type interface {
	
	
	
	HasTrait(trait int) bool

	
	
	
	TypeName() string
}

Type interface indicate the name of a given type.

type TypeAdapter interface {
	
	NativeToValue(value any) Val
}

TypeAdapter converts native Go values of varying type and complexity to equivalent CEL values.

Deprecated: use types.Adapter

TypeProvider specifies functions for creating new object instances and for resolving enum values by name.

Deprecated: use types.Provider

TypeRegistry allows third-parties to add custom types to CEL. Not all `TypeProvider` implementations support type-customization, so these features are optional. However, a `TypeRegistry` should be a `TypeProvider` and a `TypeAdapter` to ensure that types which are registered can be converted to CEL representations.

Deprecated: use types.Registry

Val interface defines the functions supported by all expression values. Val implementations may specialize the behavior of the value through the addition of traits.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4