Skip to main content

Module parser

Module parser 

Source

Structs§

LineMap
Represents a mapping between byte offsets and (line, column) positions.
ParseOutcome
ParserDiagnostic
SimpleSpan
A minimal span implementation compatible with chumsky’s [Span] trait.

Enums§

Token

Functions§

abyss_whitespace
Produces a parser that skips AbySS whitespace.
attach_line_info
Helper to attach line info to AST nodes.
emit_diagnostics
lexer
parse
scrub_comments_preserve_layout
Replace comments with whitespace of equal length so token spans align with the original source.

Type Aliases§

SpannedToken