> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Struct ForRangeExpression

Module: `std::meta::expr`

```rust
pub comptime struct ForRangeExpression
{ /* private fields */ }
```

A for loop over a range, decomposed by [`Expr::as_for_range`](/aztec-nr-api/v6.0.0/std/primitive.Expr.md#as_for_range).

## Implementations

```rust
impl ForRangeExpression
```

```rust
pub comptime fn identifier(self) -> Quoted
```

The loop variable as a [`Quoted`](/aztec-nr-api/v6.0.0/std/primitive.Quoted.md) identifier.

```rust
pub comptime fn start(self) -> Expr
```

The range's lower bound.

```rust
pub comptime fn end(self) -> Expr
```

The range's upper bound.

```rust
pub comptime fn is_inclusive(self) -> bool
```

Returns `true` if the upper bound is inclusive.

```rust
pub comptime fn body(self) -> Expr
```

The loop body.
