feat: 新增 Intl 特性域骨架实现

This commit is contained in:
2026-10-16 05:08:58 +00:00
parent 5e7808bb08
commit 04b991f5d8
17 changed files with 2417 additions and 31 deletions
+22
View File
@@ -122,6 +122,28 @@ pub enum ProtoKind {
MessageEventProto,
ErrorEventProto,
CustomEventProto,
// Intl 十组构造器与原型(Intl 命名空间对象不占 ProtoKind:builtins 不读它,
// 绑定层直接访问 world 的 intl_object 槽)
NumberFormatConstructor,
NumberFormatProto,
DateTimeFormatConstructor,
DateTimeFormatProto,
CollatorConstructor,
CollatorProto,
PluralRulesConstructor,
PluralRulesProto,
ListFormatConstructor,
ListFormatProto,
RelativeTimeFormatConstructor,
RelativeTimeFormatProto,
DisplayNamesConstructor,
DisplayNamesProto,
SegmenterConstructor,
SegmenterProto,
LocaleConstructor,
LocaleProto,
DurationFormatConstructor,
DurationFormatProto,
}
/// builtins 依赖的 `Vm` 能力集合。