cel-go/ directory
Directories ΒΆ
| Path | Synopsis |
|---|---|
| cel | Package cel defines the top-level interface for the Common Expression Language (CEL). |
| checker | Package checker defines functions to type-checked a parsed expression against a set of identifier and function declarations. |
| checker/decls | Package decls provides helpers for creating variable and function declarations. |
| common | Package common defines types and utilities common to expression parsing, checking, and interpretation |
| common/ast | Package ast declares data structures useful for parsed and checked abstract syntax trees |
| common/containers | Package containers defines types and functions for resolving qualified names within a namespace or type provided to CEL. |
| common/debug | Package debug provides tools to print a parsed expression graph and adorn each expression element with additional metadata. |
| common/decls | Package decls contains function and variable declaration structs and helper methods. |
| common/env | Package env provides a representation of a CEL environment. |
| common/functions | Package functions defines the standard builtin functions supported by the interpreter |
| common/operators | Package operators defines the internal function names of operators. |
| common/overloads | Package overloads defines the internal overload identifiers for function and operator overloads. |
| common/runes | Package runes provides interfaces and utilities for working with runes. |
| common/stdlib | Package stdlib contains all of the standard library function declarations and definitions for CEL. |
| common/types | Package types contains the types, traits, and utilities common to all components of expression handling. |
| common/types/pb | Package pb reflects over protocol buffer descriptors to generate objects that simplify type, enum, and field lookup. |
| common/types/ref | Package ref contains the reference interfaces used throughout the types components. |
| common/types/traits | Package traits defines interfaces that a type may implement to participate in operator overloads and function dispatch. |
| examples | |
| ext | Package ext contains CEL extension libraries where each library defines a related set of constants, functions, macros, or other configuration settings which may not be covered by the core CEL spec. |
| interpreter | Package interpreter provides functions to evaluate parsed expressions with the option to augment the evaluation with inputs and functions supplied at evaluation time. |
| interpreter/functions | Package functions defines the standard builtin functions supported by the interpreter and as declared within the checker#StandardDeclarations. |
| parser | Package parser declares an expression parser with support for macro expansion. |
| parser/gen | Package gen contains all of the ANTLR-generated sources used by the cel-go parser. |
| test | Package test provides a YAML-serializable test suite for CEL tests. |
| test/bench | Package bench defines a structure for benchmarked tests against custom CEL environments. |
| test/proto2pb | |
| test/proto3pb |
- Version
- v0.25.0 (latest)
- Published
- Apr 22, 2025
- Platform
- linux/amd64
- Last checked
- 10 months ago –
Tools for package owners.