func type_expr_fragment(consume syntax: Syntax<TypeAnnotation>) -> Syntax<Expr>Reclassifies type tokens for a type-shaped position inside an expression quote.
The fragment cannot materialize as a standalone expression; validation of the completed quote enforces that it landed in a compatible grammar position.
View Source
pub func type_expr_fragment(consume syntax: Syntax<TypeAnnotation>) -> Syntax<Expr> {
raw_expr_fragment(raw: consume syntax.raw)
}