Crate malk_lexer [] [src]

Structs

InvalidSymbolTableError

Error returned by validate_symbol_table. Represents two sequences of symbols that cannot be parsed unambiguously because they would appear as the same string of text.

Span

A span of text in a text document.

TextPos

A position in a text document.

Token

A token with a position.

TokensBuf
TokensRef

Enums

LexError
TokenKind

An element in a token tree.

Functions

lex
validate_symbol_table

Check that a symbol table can be used to parse unambiguously.