pub fn eof<'a>() -> impl Parser<(), &'a [Token]> {
    move |input: &'a [Token]| {
        if input.is_empty() {
            Some(((), input))
        } else {
            None
        }
    }
}
/// A parser that expects to be nothing left in its input.
A parser that expects to be nothing left in its input.
A parser that expects to be nothing left in its input .
pub fn eof<'a>() -> impl Parser<(), &'a [Token]> {
    move |input: &'a [Token]| {
        if input.is_empty() {
            Some(((), input))
        } else {
            None
        }
    }
}
pub fn eof < ' a > ( ) -> impl Parser < ( ) , & ' a [ Token ] > { move | input : & ' a [ Token ] | { if input . is_empty ( ) { Some ( ( ( ) , input ) ) } else { None } } }
A parser that expects to be nothing left in its input.
A parser that expects to be nothing left in its input .