moonrockz/partiql-syntax/diagnostic does not have a README file

    Position

    pub(all) struct Position {
    line : Int
    column : Int
    } derive(Eq,
    Debug
    )

    A 1-based line and a 1-based column counted in code points.

    position

    fn position(source : String, offset : Int) -> Position

    The position of UTF-16 offset in source. \r\n ends one line.

    render

    fn render(error :
    ParseError
    , source : String, name~ : String, color? : Bool) -> String

    The rendered diagnostic of error in source (named name in the location line). Ends with a line break.

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io