Commit Graph

1110 Commits

Author SHA1 Message Date
pjh123 38d710cf04 docs: 改写虚拟机调度与属性域注释
vm/mod.rs:补模块头,说明基于寄存器的执行状态、寄存器文件、调用栈
与 session 内存及子模块职责;为 MAX_PROTO_CHAIN_DEPTH、
format_error_message、is_object_prototype 补文档。
vm/call.rs:为 is_session_ptr、alloc_object 补文档;为
call_function_sync、push_bytecode_frame 补五段式文档,写清 native/字节码
统一同步调用与统一压帧的步骤、边界和副作用。
vm/gc_hooks.rs:为 for_each_root、maybe_collect_session_gc 补文档。
vm/props.rs:property_key_si 首现展开字符串 intern id;为
array_index_from_property_key、resolve_property、get_own_property_slot
补文档。
2026-09-17 13:29:22 +00:00
pjh123 5e9cd271e1 docs: 改写虚拟机核心域注释并清除英文残留
- error.rs:补 coerce_primitive_bounded / coerce_number/int32/uint32_bounded /
  checked_object_ptr / raise_error_kind / raise_js_error / raise_type_error /
  error_message_text / thrown_error_kind 共 10 项文档;@@toPrimitive 英文块译中。
- dispatch_loop.rs:补 dispatch 主循环五段式文档。
- vmhost.rs:property_key_si trait 臂英文块译中(Reflect/Object 不传播键转换异常)。
2026-09-17 13:22:18 +00:00
pjh123 fa7a3bd2f3 docs: 修正差量设置的注释语义 2026-09-17 13:08:20 +00:00
pjh123 9e835ee19a docs: 改写 ZonedDateTime 与时间族注释
- zoned_date_time.rs:11 处——bag/with 字段读取与 options 解析的先后改中文语义句,
  去 order-of-operations/options-wrong-type 测试名与 spec 读序、IsPartialTemporalObject
  裸名;数值字段/monthCode/offset 三处箭头电报体展开为完整句;CalendarResolveFields、
  GetStartOfDay 操作名移入括注;roundTo 读取顺序改固定读取顺序表述
- plain_time.rs:2 处——roundTo 对象选项去 order-of-operations 测试名改固定读取顺序;
  with 字段先于选项解析改完整语义句,去 options-wrong-type 测试名与「同口径」私有量词
- plain_month_day.rs:1 处——注解后缀校验补齐与 validate_temporal_annotation_suffix
  同构的具体内容(后缀语法一致、u-ca 白名单收窄为 iso8601)
- 纯注释零逻辑;128 名集恒等、doc 断链零新增
2026-09-17 13:03:45 +00:00
pjh123 5a0fc98aa1 docs: 改写 Temporal 共享与差量层注释
- common.rs 模块头删「最小实现子集」,补 Duration 槽位并逐类型列出 prop 布局;
  reject_partial_object_with_calendar_or_time_zone 文档改中文语义句并移操作名入括注
- instant.rs round_instant_ns 文档改「语义在前 + 操作名括注」,补 increment/溢出边界
- duration.rs duration_compare 步骤 4 与相等短路注释删除测试名,写明日历单位必须依赖相对点
- difference.rs 改写差值设置解析两处文档(去箭头电报体与裸操作名)、
  nudge/bubble 两处函数文档、进位边界范围校验说明,统一 Nudge 族为中文语义加括注
2026-09-17 12:59:34 +00:00
pjh123 d22c5dfcdb docs: 改写数组域注释并清除遗留乱码
改动点:
- array/common.rs:require_callback 文档与上一函数之间补空行,与同文件其余条目的空行分隔格式一致。
- array/immutable.rs:array_to_sorted、array_to_spliced 两处文档前补空行;删除 array_to_spliced 体内与文档重复的缺省规则注释,缺省规则由函数文档的「边界与前提」唯一承载。
- 派单清单所列数组面注释绝大多数已由数组工具族注释批次落地,本批补齐 toSpliced 文档去重与三处空行,纯注释零逻辑。
2026-09-17 12:55:04 +00:00
pjh123 4b080b6f63 docs: 改写字符串域注释并补正则工具文档
string/common.rs:文本通道节头改写为三载荷形态与两条匹配入口的范围单位约定,删依赖 crate 名与历史表述;to_value 文档由「物化/臂」改为「构造/变体」。
string/regex.rs:为 is_regexp_obj、builder_wrapper、make_match_done_result 补函数文档;string_raw 体内注释删除规范章节号,仅保留语义。
2026-09-17 12:50:15 +00:00
pjh123 aaad3786b7 docs: 修正数组助手与类型化数组的注释示例
改动点:
- array/common.rs 的 get_this_arraylike:消费者示例由实际不经过本助手的
  values/entries/keys/iterator 改为真实调用族,即遍历查找族、切片拼接族与
  不可变复制族。
- typed_array.rs 的 get_typed_array_data:对象指针为空分支从"接收者不兼容"
  移入"内部状态无效",与代码实际抛出的错误消息一致。

条件项:本批无新增可选 doc 补充,其余 16 处注释与上一提交保持一致。
2026-09-17 12:41:02 +00:00
pjh123 c9eef0f417 docs: 改写迭代器域注释黑话并补无文档函数 2026-09-17 12:37:40 +00:00
pjh123 10f0f74b76 docs: 补齐数组与对象工具族注释并清除乱码 2026-09-17 12:35:05 +00:00
pjh123 598ce98d4a refactor: array 模块收口定型骨架与子模块头 2026-09-17 12:27:24 +00:00
pjh123 51157473df refactor: array 不可变方法族拆出 immutable 模块 2026-09-17 12:18:48 +00:00
pjh123 a43054b919 refactor: array 排序与迭代协议拆出 sort_iterator 模块 2026-09-17 12:09:55 +00:00
pjh123 f2a1320810 refactor: array 迭代与查找族拆出 iterate 模块 2026-09-17 12:05:28 +00:00
pjh123 25bfe2d076 refactor: array element 族拆出 element 模块 2026-09-17 11:58:41 +00:00
pjh123 c509f78758 refactor: array from 族拆出 from 模块 2026-09-17 11:50:22 +00:00
pjh123 24f15d3a7c refactor: array 共享层拆出 common 模块 2026-09-17 11:26:34 +00:00
pjh123 4f940d9f00 docs: 修正 string 模块头消费路径表述 2026-09-17 11:15:13 +00:00
pjh123 7e5bc66689 refactor: array 单文件迁目录模块 2026-09-17 11:07:13 +00:00
pjh123 3129e87f55 refactor: string 模块拆分收口定型骨架 2026-09-17 11:05:03 +00:00
pjh123 a93d08779e refactor: string 正则族拆出 regex 模块 2026-09-17 10:59:00 +00:00
pjh123 cad52546d6 refactor: string 基础方法族拆出 basic 模块 2026-09-17 10:51:46 +00:00
pjh123 3c691ef4d6 refactor: string 共享层拆出 common 模块 2026-09-17 10:41:26 +00:00
pjh123 27f48a6e39 refactor: string 单文件迁目录模块 2026-09-17 10:34:28 +00:00
pjh123 0679c805b1 refactor: temporal 收口,构造层并入 common 并外移内联测试 2026-09-17 10:31:51 +00:00
pjh123 7f012c2119 refactor: temporal 年月与月日族拆出双模块 2026-09-17 10:22:45 +00:00
pjh123 b9e3886a30 refactor: temporal PlainDateTime 族拆出独立模块 2026-09-17 10:16:33 +00:00
pjh123 d41b2fe9ff refactor: temporal PlainTime 族拆出独立模块 2026-09-17 10:02:43 +00:00
pjh123 e1132b98ff refactor: temporal PlainDate 族拆出独立模块 2026-09-17 09:53:05 +00:00
pjh123 a1abdff61e refactor: temporal duration 族拆出独立模块 2026-09-17 09:40:09 +00:00
pjh123 9811b96ac8 refactor: temporal ZonedDateTime 族拆出独立模块 2026-09-17 09:30:12 +00:00
pjh123 abff09df3a refactor: temporal instant 层拆出独立模块 2026-09-17 09:21:20 +00:00
pjh123 d6f1943c92 refactor: temporal 差量层拆出独立模块 2026-09-17 08:32:50 +00:00
pjh123 e4207b41c0 refactor: temporal 字符串解析与算历层并入 common 2026-09-17 07:54:13 +00:00
pjh123 a83916c060 refactor: temporal 共享层拆出 common 模块 2026-09-17 06:37:03 +00:00
pjh123 90630221c0 docs: perm interner 保留口径去泄漏措辞 2026-09-17 05:54:01 +00:00
pjh123 a77f1c37f6 refactor: temporal 单文件迁目录模块 2026-09-17 05:52:51 +00:00
pjh123 20eab77e13 docs: kernel crate 头文档辖域修正 2026-09-17 05:34:58 +00:00
pjh123 785133346f docs: kernel 残措辞与重建口径统一 2026-09-17 05:16:24 +00:00
pjh123 bdb7721063 docs: kernel 小文件注释改写 2026-09-17 04:42:58 +00:00
pjh123 eb6c441d62 docs: kernel session 组注释改写与断链消解 2026-09-17 04:29:24 +00:00
pjh123 2d48a7e253 docs: 内建绑定连线组注释改写与断链修复 2026-09-17 03:47:41 +00:00
pjh123 d474ef6b46 docs: 原型槽记号加反引号修复 rustdoc 断链 2026-09-16 20:35:57 +00:00
pjh123 4ff039b4f3 docs: 内建选择性重建注释改写与黑话术语替换 2026-09-16 20:33:42 +00:00
pjh123 4c4f5ab8ae docs: 内建世界释放登记表注释改写与黑话替换 2026-09-16 20:23:31 +00:00
pjh123 9c8e6a85e1 docs: 形状模块使用范围说明与 crate 头中文化 2026-09-16 19:47:21 +00:00
pjh123 511d30492d docs: epoch 内存文档术语统一与 reset 重写 2026-09-16 19:46:55 +00:00
pjh123 c6ee4c1313 docs: 值类型 tag 叙述统一与断言小节名规范 2026-09-16 19:46:18 +00:00
pjh123 6545629b25 docs: 字符串布局文档去历史化与口径术语替换 2026-09-16 19:45:51 +00:00
pjh123 ded63a739b docs: 堆外属性区 SAFETY 样板收敛为字段声明 2026-09-16 19:45:27 +00:00