shape_jit/ffi/object/mod.rs
1//! Object FFI Functions for JIT
2//!
3//! This module provides FFI functions for creating and manipulating objects,
4//! arrays, closures, and performing property access operations in the JIT.
5//!
6//! ## Modules
7//!
8//! - `object_ops` - Object creation, manipulation, and metadata operations
9//! - `property_access` - Property access for objects, arrays, strings, series, and other types
10//! - `conversion` - Conversion between NaN-boxed bits and runtime Values
11//! - `format` - String formatting with template substitution
12//! - `closure` - Closure creation with captured values
13//! - `pattern` - Pattern matching helpers for Result/Option types
14
15pub mod closure;
16pub mod conversion;
17pub mod format;
18pub mod object_ops;
19pub mod pattern;
20pub mod property_access;
21
22// Re-export all public functions for backward compatibility
23pub use object_ops::{jit_new_object, jit_object_rest, jit_set_prop};
24
25pub use property_access::{jit_get_prop, jit_hashmap_shape_id, jit_hashmap_value_at, jit_length};
26
27pub use conversion::{
28 jit_bits_to_nanboxed, jit_bits_to_nanboxed_with_ctx, jit_bits_to_typed_scalar,
29 nanboxed_to_jit_bits, typed_scalar_to_jit_bits,
30};
31
32pub use format::jit_format;
33
34pub use closure::jit_make_closure;
35
36pub use pattern::{jit_pattern_check_constructor, jit_pattern_extract_constructor};