jetcrab\runtime/
mod.rs

1//! # Runtime Environment Module
2//!
3//! Provides the runtime environment for JavaScript execution, including
4//! built-in functions, context management, and object system.
5//!
6//! ## Overview
7//!
8//! The runtime module includes:
9//!
10//! - **Built-in Functions**: Standard library implementations
11//! - **Context Management**: Execution context and state
12//! - **Object System**: Object creation and manipulation
13//! - **Function System**: Function execution and management
14//! - **Error Handling**: Runtime error types and handling
15//!
16//! ## Components
17//!
18//! - **Context**: Execution environment and state
19//! - **Builtins**: Standard JavaScript functions
20//! - **Objects**: Dynamic object creation and access
21//! - **Functions**: Callable function objects
22//! - **Errors**: Runtime error types
23//!
24//! ## Usage
25//!
26//! ```rust
27//! use jetcrab::runtime::{Context, Builtins, Object};
28//!
29//! let context = Context::new();
30//! let builtins = Builtins::new();
31//! let object = Object::new();
32//! ```
33
34pub mod builtins;
35pub mod context;
36pub mod error;
37pub mod function;
38pub mod object;
39
40pub use context::Context;
41pub use error::RuntimeError;
42pub use function::Function;
43pub use object::Object;