moonbit-community/tree_sitter_mbt/api does not have a README file
pub(all) suberror ScannerError { Failure(String) InvalidResult(String)} derive(Eq, @moonbitlang/core/debug.DebugDebug)
type FieldId derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn FieldId::new(value : UInt) -> FieldId
fn FieldId::value(self : FieldId) -> UInt
pub(all) struct InputEdit { start_byte : UInt old_end_byte : UInt new_end_byte : UInt start_point : Point old_end_point : Point new_end_point : Point} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn InputEdit::edit_position(self : InputEdit, byte~ : UInt, point~ : Point) -> (UInt, Point)
fn InputEdit::new(start_byte~ : UInt, old_end_byte~ : UInt, new_end_byte~ : UInt, start_point~ : Point, old_end_point~ : Point, new_end_point~ : Point) -> InputEdit
pub(all) enum InputEncoding { Utf8 Utf16LE Utf16BE Custom} derive(Eq, @moonbitlang/core/debug.DebugDebug)
pub(all) struct Point { row : UInt column : UInt} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn Point::add(self : Point, other : Point) -> Point
fn Point::edit(self : Point, byte~ : UInt, edit~ : InputEdit) -> (UInt, Point)
fn Point::gt(self : Point, other : Point) -> Bool
fn Point::gte(self : Point, other : Point) -> Bool
fn Point::lt(self : Point, other : Point) -> Bool
fn Point::lte(self : Point, other : Point) -> Bool
fn Point::max() -> Point
fn Point::new(row~ : UInt, column~ : UInt) -> Point
fn Point::sub(self : Point, other : Point) -> Point
fn Point::zero() -> Point
pub(all) struct Range { start_byte : UInt end_byte : UInt start_point : Point end_point : Point} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn Range::byte_length(self : Range) -> UInt
fn Range::contains_byte(self : Range, byte : UInt) -> Bool
fn Range::contains_point(self : Range, point : Point) -> Bool
fn Range::edit(self : Range, edit : InputEdit) -> Range
fn Range::is_empty(self : Range) -> Bool
fn Range::new(start_byte~ : UInt, end_byte~ : UInt, start_point~ : Point, end_point~ : Point) -> Range
fn Range::unbounded(start_byte~ : UInt, start_point~ : Point) -> Range
type StateId derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn StateId::new(value : UInt) -> StateId
fn StateId::value(self : StateId) -> UInt
type SymbolId derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn SymbolId::new(value : UInt) -> SymbolId
fn SymbolId::value(self : SymbolId) -> UInt
pub(all) enum SymbolType { Regular Anonymous Supertype Auxiliary} derive(Eq, @moonbitlang/core/debug.DebugDebug)
fn uint32_max() -> UInt
Install
MoonBit-native Tree-sitter runtime and generator (work in progress)
No dependents
Powered by MoonBit
© 2026 mooncakes.io