Function parse_iter

Source
pub fn parse_iter<'a, D: Decimal + 'a>(
    input: &'a str,
) -> impl Iterator<Item = Result<Entry<D>, Error>> + 'a
Expand description

Parse the beancount file and return an iterator over Result<Entry<D>, Result>

It is generic over the Decimal type D.

See Entry

ยงErrors

The iterator will emit an Error in case of invalid beancount syntax found.