Module support

Module support 

Source
Expand description

2026-09-26: Support code for the grammar crate: UTF-8, Latin-1 and hex decoding (encoding), escape handling for grammar literals (escape), union and intersection of sorted integer sets (int_set), the CSR Compact2DArray, UnionFindSet, and hash-combine helpers (hash).

Owner: grammar. Invariants: none beyond the types.

Re-exports§

pub use compact_2d_array::Compact2DArray;
pub use encoding::TCodepoint;
pub use encoding::byte_to_latin1;
pub use encoding::char_handling_error;
pub use encoding::char_to_utf8;
pub use encoding::handle_utf8_first_byte;
pub use encoding::hex_char_to_int;
pub use encoding::latin1_to_bytes;
pub use encoding::parse_next_utf8;
pub use encoding::parse_utf8;
pub use escape::parse_next_escaped;
pub use escape::parse_next_utf8_or_escaped;
pub use escape::print_as_escaped;
pub use escape::print_byte_as_escaped;
pub use escape::print_str_as_escaped;
pub use escape::unescape_string;
pub use hash::hash_combine;
pub use hash::hash_combine_binary;
pub use int_set::intset_intersection;
pub use int_set::intset_union;
pub use union_find::UnionFindSet;

Modules§

compact_2d_array
encoding
escape
hash
int_set
union_find