1 2 3 4 5 6 7 8 9 10 11 12 13 14
mod atomic; mod expression; mod util; pub(crate) trait Parse where Self: Sized, { fn parse(input: &str) -> nom::IResult<&str, Self>; fn parse_ws(input: &str) -> nom::IResult<&str, Self> { util::skip_ws(Self::parse)(input) } }