pub trait ParserInput: std::fmt::Debug { type Output; fn next_token() -> Self::Output; } impl ParserInput for &str { type Output = (); fn next_token() -> Self::Output { () } }