For the complete documentation index, see llms.txt.
aztec-nr - std::meta::expr

Struct ForExpression

pub comptime struct ForExpression
{ /* private fields */ }

A for loop over an expression, decomposed by Expr::as_for.

Implementations

impl ForExpression

pub comptime fn identifier(self) -> Quoted

The loop variable as a Quoted identifier.

pub comptime fn iterable(self) -> Expr

The expression being iterated over.

pub comptime fn body(self) -> Expr

The loop body.