Skip to main content

Module parser

Module parser 

Source

Functionsยง

construct
Constructs a type AST from a lexer, allocating nodes in the given arena.
construct_prefix
Parse the longest type prefix and return the position past the consumed bytes. Used by embedding callers that tokenise their own trailing text after the type.