unicode
1// Generated using `moon info`, DON'T EDIT IT2package "moonbit-community/unicode-tools/emitter"34// Values5pub const MaxCodePoint : Int32 = 0x10FFFF67pub fn deduplicate_blocks(Array[Int32], Int32) -> DedupedBlocks89pub fn hex_literal(Int32, min_width? : Int32) -> String1011pub fn hex_upper(Int32, min_width? : Int32) -> String1213pub fn string_literal(ArrayView[Int32]) -> String1415// Errors1617// Types and methods18pub struct DedupedBlocks {19 ids : Array[Int32]20 blocks : Array[Int32]21}2223type Emitter24pub fn Emitter::finish(Self) -> String25pub fn Emitter::new() -> Self26pub fn Emitter::write(Self, String) -> Unit27pub fn Emitter::write_byte_array(Self, String, String, Array[Int32]) -> Unit28pub fn Emitter::write_enum(Self, type_name~ : String, doc~ : Array[String], converter~ : String, values~ : Array[EnumValue]) -> Unit raise29pub fn Emitter::write_file_header(Self, String, String) -> Unit30pub fn Emitter::write_int_array(Self, String, String, Array[Int32], hex~ : Bool) -> Unit31pub fn Emitter::write_line(Self, String) -> Unit32pub fn Emitter::write_sorted_search(Self, name~ : String, values~ : String) -> Unit33pub fn Emitter::write_string_array(Self, String, String, Array[Array[Int32]]) -> Unit34pub fn Emitter::write_uint16_array(Self, String, String, Array[Int32]) -> Unit raise35pub fn Emitter::write_value_trie(Self, property~ : String, prefix~ : String, lookup~ : String, lookup_doc~ : Array[String], value_bits~ : Int32, range_value_bits? : Int32, takes_code_point? : Bool, FixedArray[Int32]) -> Unit raise3637pub(all) struct EnumValue {38 name : String39 comment : String40}4142// Type aliases4344// Traits45// Generated using `moon info`, DON'T EDIT IT
package "moonbit-community/unicode-tools/emitter"
// Values
pub const MaxCodePoint : Int32 = 0x10FFFF
pub fn deduplicate_blocks(Array[Int32], Int32) -> DedupedBlocks
pub fn hex_literal(Int32, min_width? : Int32) -> String
pub fn hex_upper(Int32, min_width? : Int32) -> String
pub fn string_literal(ArrayView[Int32]) -> String
// Errors
// Types and methods
pub struct DedupedBlocks {
ids : Array[Int32]
blocks : Array[Int32]
}
type Emitter
pub fn Emitter::finish(Self) -> String
pub fn Emitter::new() -> Self
pub fn Emitter::write(Self, String) -> Unit
pub fn Emitter::write_byte_array(Self, String, String, Array[Int32]) -> Unit
pub fn Emitter::write_enum(Self, type_name~ : String, doc~ : Array[String], converter~ : String, values~ : Array[EnumValue]) -> Unit raise
pub fn Emitter::write_file_header(Self, String, String) -> Unit
pub fn Emitter::write_int_array(Self, String, String, Array[Int32], hex~ : Bool) -> Unit
pub fn Emitter::write_line(Self, String) -> Unit
pub fn Emitter::write_sorted_search(Self, name~ : String, values~ : String) -> Unit
pub fn Emitter::write_string_array(Self, String, String, Array[Array[Int32]]) -> Unit
pub fn Emitter::write_uint16_array(Self, String, String, Array[Int32]) -> Unit raise
pub fn Emitter::write_value_trie(Self, property~ : String, prefix~ : String, lookup~ : String, lookup_doc~ : Array[String], value_bits~ : Int32, range_value_bits? : Int32, takes_code_point? : Bool, FixedArray[Int32]) -> Unit raise
pub(all) struct EnumValue {
name : String
comment : String
}
// Type aliases
// Traits