refactor: 移除代码注释中的文档内部编号引用

This commit is contained in:
2026-06-24 16:03:53 +08:00
parent 4535f70f80
commit 94405f50d7
8 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -22,13 +22,13 @@ pub struct CompiledModule {
pub param_base: u8,
pub builtin_reg_map: Vec<(String, u8)>,
pub sub_modules: Vec<CompiledModule>,
/// True when this module is an arrow function body (D-01).
/// True when this module is an arrow function body.
/// Arrow functions capture lexical `this` from the enclosing scope.
pub is_arrow: bool,
/// Index into `constants` holding the captured `this` JsValue.
/// 0 means "not captured - use standard this binding".
pub captured_this_const_idx: u16,
/// Function name inferred from assignment context (D-04).
/// Function name inferred from assignment context.
/// Set at the VariableDeclaration / ObjectProperty assignment site.
pub function_name: Option<String>,
/// True when this bytecode function is a class constructor.