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
@@ -1,3 +1,5 @@
//! 数组字面量 emit:`emit_array_expression` 逐元素求值并建数组(含 holes)。
use crate::{CompileCtx, Emitter};
use oxide_ir::inst::Inst;
use oxide_ir::operand::Operand;
+2
View File
@@ -1,3 +1,5 @@
//! 对象表达式域:对象/数组字面量子模块与域分发 `emit_object_domain`。
use crate::{CompileCtx, Emitter};
use oxide_parser::Expression;
@@ -1,3 +1,5 @@
//! 对象字面量 emit:`emit_object_expression` 逐属性定义(含 getter/setter/展开)。
use crate::{CompileCtx, Emitter};
use oxide_ir::inst::Inst;
use oxide_ir::operand::Operand;