moonbitlang/parser/basic does not have a README file
pub(all) enum LocStyle { Hidden Json String}
pub(all) struct Location { start : Position end : Position}
impl Compare for Location
fn compare(Location, Location) -> Int
impl Eq for Location
fn equal(Location, Location) -> Bool
impl Hash for Location
fn hash_combine(Location, Hasher) -> Unit
impl Show for Location
fn output(self : Location, buf : &Logger) -> Unit
impl ToJson for Location
fn to_json(loc : Location) -> Json
impl Debug for Location
fn to_repr(Location) -> @moonbitlang/core/debug.ReprRepr
fn Location::merge(self : Location, other : Location) -> Location
fn Location::trim_first_char(self : Location) -> Location
fn Location::trim_last_char(self : Location) -> Location
pub(all) struct Position { fname : String lnum : Int bol : Int cnum : Int}
impl Compare for Position
fn compare(self : Position, other : Position) -> Int
impl Eq for Position
fn equal(self : Position, other : Position) -> Bool
impl Hash for Position
fn hash_combine(Position, Hasher) -> Unit
impl Show for Position
fn output(self : Position, logger : &Logger) -> Unit
impl ToJson for Position
fn to_json(Position) -> Json
impl Debug for Position
fn to_repr(Position) -> @moonbitlang/core/debug.ReprRepr
fn Position::column(self : Position) -> Int
pub(all) struct Report { loc : Location msg : String}
impl Show for Report
fn output(self : Report, logger : &Logger) -> Unit
impl ToJson for Report
fn to_json(self : Report) -> Json
let builtin_package : String
let current_package : @moonbitlang/core/ref.RefRef[String]
let show_loc : @moonbitlang/core/ref.RefRef[LocStyle]
Install
AST and parsers for the MoonBit programming language
Dependencies
Powered by MoonBit
© 2026 mooncakes.io