pub fn construct<'arena>(
arena: &'arena Bump,
lexer: TypeLexer<'arena>,
) -> Result<Type<'arena>, ParseError>Expand description
Constructs a type AST from a lexer, allocating nodes in the given arena.
ยงErrors
Returns a ParseError if the type syntax is invalid.