[−][src]Function parze::sym
pub fn sym<'b, 'a, T: Clone + 'a, E: ParseError<T> + 'a, U: Clone + 'a>(
expected: U
) -> Parser<'a, T, T, E, impl ParseFn<T, T, E> + Captures<'b> + 'a> where
T: PartialEq<U>,
'a: 'b,
'b: 'a,
A parser that accepts the given symbol.