expression

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package expression defines the narrow contracts used by expression clients. The mutable implementation remains in schema during the compatibility window.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PredicateEvaluator

type PredicateEvaluator interface {
	Evaluate(map[string]interface{}) (bool, error)
}

PredicateEvaluator evaluates a compiled predicate against a registry-owned snapshot.

type Registry

type Registry interface {
	Set(string, interface{})
	Get(string) (interface{}, bool)
	RegisterFunction(string, interface{})
	EvaluateExpression(string) (interface{}, error)
}

Registry is the data/function surface required by predicate compilation and evaluation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL