[][src]Function exprz_core::parse::parse_atom

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>, 

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

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