pub fn type_from_token_kind(kind: TokenKind) -> Type