# Module pest::iterators

source · [−]
Expand description

Types and iterators for parser output.

## Structs

FlatPairs

An iterator over `Pair`s. It is created by `Pairs::flatten`.

Pair

A matching pair of `Token`s and everything between them.

Pairs

An iterator over `Pair`s. It is created by `pest::state` and `Pair::into_inner`.

Tokens

An iterator over `Token`s. It is created by `Pair::tokens` and `Pairs::tokens`.