docs: 添加 Rustdoc 注释
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
//! oxide_emit:AST → IR 代码生成层(编译管线中段)。
|
||||
//!
|
||||
//! 入口 `Emitter::emit_program` 把 parser 产出的 `Program` 编译为分域组合的
|
||||
//! `IRFunction`(code/data/bindings/builtins/closures/meta/nested),再由
|
||||
//! `oxide_ir::lower` 降为 bytecode。语法按域拆分:`expr/`、`stmt/`、`class/`、
|
||||
//! `shared/`;作用域与闭包捕获分析在 emit 前完成,消除符号表时序依赖。
|
||||
|
||||
pub mod class;
|
||||
pub mod closure;
|
||||
pub mod emit;
|
||||
|
||||
Reference in New Issue
Block a user