Function exprz::parse::parse_atom[][src]

pub fn parse_atom<I, F, A>(iter: I, classify: F) -> Result<A> where
    I: IntoIterator,
    F: Fn(&I::Item) -> SymbolType,
    A: FromIterator<I::Item>, 
This is supported on crate feature parse only.

Parses an Atom from an Iterator over collect-able symbols.

This function consumes the iterator expecting nothing before or after the parsed Atom.