feat: DisposableStack 内置对象(状态盒 + use/adopt/defer/dispose/move + GC 六处接线 + 绑定三时机)

This commit is contained in:
2026-08-16 19:22:57 +08:00
parent fbfa3f5ccf
commit 7c02d3ece1
6 changed files with 594 additions and 4 deletions
+2
View File
@@ -19,6 +19,8 @@ pub mod boolean;
pub mod builtins_log;
/// DataView 内置对象实现(对 ArrayBuffer 的定点读写视图)。
pub mod data_view;
/// DisposableStack/AsyncDisposableStack 内置对象实现(资源栈状态盒与 GC 追踪)。
pub mod disposable_stack;
/// Date 内置对象实现(时间戳存取、get/set 系列与 to*String 系列)。
pub mod date;
/// Error 内置对象实现(各类 Error 构造函数与 stack/toString)。