feat: 补全 String locale 三方法与 localeCompare 基本档

This commit is contained in:
2026-09-21 01:58:31 +00:00
parent 46211a66a5
commit 7481ceb798
6 changed files with 649 additions and 2 deletions
+5 -2
View File
@@ -1,12 +1,15 @@
//! String 内置对象实现(constructor 与全部 String.prototype 方法)。
//!
//! 按职责分 `common` 文本通道、`basic` 基础方法族、`regex` 正则与匹配族,
//! 三族经本模块 glob 重导出,供绑定层(`oxide_builtins::string::`)与 `regexp` 模块(`crate::string::`)消费。
//! 按职责分 `common` 文本通道、`basic` 基础方法族、`regex` 正则与匹配族、
//! `locale` locale 三方法族,各族经本模块 glob 重导出,供绑定层
//! (`oxide_builtins::string::`)与 `regexp` 模块(`crate::string::`)消费。
mod basic;
mod common;
mod locale;
mod regex;
pub use basic::*;
pub(crate) use common::*;
pub use locale::*;
pub use regex::*;