moonbit-community/treesitter/regex_syntax/hir does not have a README file
pub(open) trait Interval : Eq + Compare {
fn lower(Self) -> Int
fn upper(Self) -> Int
fn create(Int, Int) -> Self
fn case_fold_simple(Self, Array[Self]) -> Unit raise CaseFoldError
fn bound_min_value() -> Int
fn bound_max_value() -> Int
fn bound_increment(Int) -> Int
fn bound_decrement(Int) -> Int
}impl Show for CaseFoldErrorpub(all) suberror UnicodeError {
PropertyNotFound
PropertyValueNotFound
PerlClassNotFound
} derive(Debug)impl Interval for ClassBytesRangefn bound_decrement(b : Int) -> Intfn bound_increment(b : Int) -> Intfn bound_max_value() -> Intfn bound_min_value() -> Intfn case_fold_simple(self : ClassBytesRange, ranges : Array[ClassBytesRange]) -> Unit raise CaseFoldErrorpub(all) enum ClassQuery {
OneLetter(Char)
Binary(String)
ByValue(property_name~ : String, property_value~ : String)
} derive(Debug)impl Interval for ClassUnicodeRangefn bound_decrement(c : Int) -> Intfn bound_increment(c : Int) -> Intfn bound_max_value() -> Intfn bound_min_value() -> Intfn case_fold_simple(self : ClassUnicodeRange, ranges : Array[ClassUnicodeRange]) -> Unit raise CaseFoldErrorpub struct IntervalSet[I] {
// private fields
}impl Eq for IntervalSet[I]impl Debug for IntervalSet[I]fn[I : Interval + Eq + Compare] IntervalSet::case_fold_simple(self : IntervalSet[I]) -> Unit raise CaseFoldErrorfn[I : Interval + Eq + Compare] IntervalSet::difference(self : IntervalSet[I], other : IntervalSet[I]) -> Unitfn[I : Interval + Eq + Compare] IntervalSet::intersect(self : IntervalSet[I], other : IntervalSet[I]) -> Unitfn[I : Interval + Eq + Compare] IntervalSet::symmetric_difference(self : IntervalSet[I], other : IntervalSet[I]) -> Unitfn[I : Interval + Eq + Compare] IntervalSet::union(self : IntervalSet[I], other : IntervalSet[I]) -> Unitpub struct SimpleCaseFolder {
// private fields
}pub struct Translator {
// private fields
}pub struct TranslatorBuilder {
// private fields
}fn TranslatorBuilder::dot_matches_new_line(self : TranslatorBuilder, yes : Bool) -> TranslatorBuilderfn is_word_character(c : Int) -> Boolfn utf8_decode(bytes : BytesView) -> Result[Int, Byte]?