expression

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 0 Imported by: 0

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