runtime 1.1.4
Checked CEL programs, owned values, and reusable execution stacks
Loading...
Searching...
No Matches
cel Namespace Reference

Byte extents for stack reservation and type descriptors. More...

Classes

class  callable
 A reference-semantic handle to frozen code and its complete declared signature. More...
class  compiled_segment
 A move-only handle to immutable frozen code and its captures. More...
class  dyn_segment
 A move-only builder of checked, source-ordered operations. More...
struct  layout
 A byte extent and its requested alignment, both in bytes. More...
class  prepared_segment
 A move-only typed binding that borrows inputs and returns concrete results. More...
class  raw_stack
 An exclusive owner of reusable canonical operand storage. More...
struct  record_adapter
 Adapts one client nominal record type to and from canonical CEL record values. More...
struct  record_field
 A source-order name/type pair validated by value_type::record. More...
struct  stack_origin
 A byte cursor and live-slot depth below a fragment's local operands. More...
struct  stack_requirements
 The statically known storage requirements of a frozen ordinary program. More...
struct  stack_reservation
 Total byte and slot capacities for one prefixed execution. More...
class  value
 Holds any type representable by CEL, including client-defined types. More...
class  value_type
 An immutable, shared semantic type with a canonical byte layout. More...

Enumerations

enum class  range_kind {
  range_kind::range , range_kind::range_from , range_kind::range_to , range_kind::range_to_inclusive ,
  range_kind::range_inclusive , range_kind::range_full
}
 Identifies every source range form independently of its endpoint layout. More...
enum class  type_kind {
  type_kind::leaf , type_kind::array , type_kind::tuple , type_kind::record ,
  type_kind::range , type_kind::callable
}
 Identifies a descriptor's structural category. More...

Functions

bool operator== (const stack_origin &left, const stack_origin &right) noexcept
 Compares both ambient coordinates exactly.
template<class Signature, class F>
requires (detail::signature_binding<Signature, std::decay_t<F>>::available)
auto with_signature (F &&callback)
 Selects an exact const callback member from an ambiguous or uninspectable overload set.
template<class T>
value_type native_type ()
 Returns the runtime's complete descriptor for a trusted native value type.
value_type bind_runtime_ownership (const value_type &type)
 Returns a runtime ownership-capable witness for the complete immutable type graph.

Detailed Description

Byte extents for stack reservation and type descriptors.