pub fn construct<'arena, A>(
arena: &'arena A,
lexer: TypeLexer<'arena>,
) -> Result<Type<'arena>, ParseError>where
A: Arena,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.