Expand description
Owns callback-free checking catalogs.
Project host registrations once, or import a validated description, then borrow the resulting environment for every expression:
use cel_parser::checking::{CheckingBuilder, CheckingEnvironment};
let environment = CheckingBuilder::new().finish().unwrap();
let imported = CheckingEnvironment::from_description(environment.description().clone()).unwrap();
assert!(imported.resolve_type("i32").is_some());Structs§
- Capabilities
- Describes value operations without retaining their implementations.
- Checking
Builder - Builds an offline catalog by reading retained host registration facts.
- Checking
Description - An owned serializable checking catalog without Rust identities or callbacks.
- Checking
Environment - Owns validated nominal identities and indexed semantic contracts.
- Checking
Report - Retains an inferred value, definite errors, and unavailable-metadata diagnostics.
- Function
Description - Describes a function-value marker and its dispatch name.
- Host
Type Binding - Binds host nominal identities explicitly to one checking catalog.
- Metadata
Error - Rejects invalid descriptions or registrations lacking checking metadata.
- Nominal
Leaf - A nominal identity, diagnostic name, and callback-free capabilities.
- Operation
Description - Describes an overload; member operands begin with the receiver.
- Record
Description - Describes required record fields in canonical order.
- Type
Description - Describes a nominal leaf and its source aliases.
- Type
Function Description - A finite type-function overload using catalog-local structural identities.
Enums§
- Checking
Type - Describes a recursive shape using catalog-local leaf references.
- Metadata
Availability - Records whether the catalog is authoritative for application declarations.
Functions§
- check_
expr_ with_ environment - Checks an expression using only catalog facts and lexical declarations.