Struct LetExpression
pub comptime struct LetExpression
{ /* private fields */ }
Implementations
impl LetExpression
pub comptime fn pattern(self) -> Expr
The let pattern.
pub comptime fn typ(self) -> Option<UnresolvedType>
The optional type annotation.
pub comptime fn expression(self) -> Expr
The expression assigned to the pattern.
A let expression decomposed by
Expr::as_let.