pub const STRING_METHODS: &[&str];Expand description
The built-in String methods this codegen lowers to each target’s native
string ops.
Mirrors the checker’s String method resolution
(checker.rs, Type::Primitive(PrimitiveType::String)): len/byte_len
return Int (scalar count vs byte count, per spec §18.3); is_empty/
contains/starts_with/ends_with a Bool; to_upper/to_lower/trim/
replace a String; split a List[String]. The set is intentionally the
minimum-useful subset that lowers cleanly to a native op on all five
targets — methods needing nontrivial index/Unicode semantics (char_at,
slice, chars, …) are deferred and fall through to the generic path.