docs: 添加 Rustdoc 注释

This commit is contained in:
爱特每羊队
2026-08-05 21:46:47 +08:00
parent bbdfca1a1c
commit f461235f04
158 changed files with 1440 additions and 15 deletions
+5 -1
View File
@@ -1,4 +1,8 @@
#![doc = "OxideJS - AST to bytecode compiler"]
//! oxide_compiler:AST → bytecode 编译入口(编译管线收尾)。
//!
//! `Compiler::compile` 串联 `oxide_emit`(AST → IR)与 `oxide_ir::lower`
//! (IR → bytecode),产出 `CompiledModule`。另有 AST 结构哈希
//! (`structural_hash` / `compiled_module_hash`)用于编译缓存键。
pub mod compiler;
pub mod compiler_log;