Trait Parse
Source pub trait Parse<'t> {
type Prec: Copy + Default;
// Required method
fn parse(p: &mut Parser<'t>, _level: Self::Prec) -> PResult<Self>
where Self: Sized;
}
Expand description
Parse an expression from a Parser’s token stream at a given precedence level
The possible precedence levels for this parser implementation
Parses Self from the tokens (and extra data) held in a Parser
Parses an [Expr]ession.
The level parameter indicates the operator binding level of the expression.
ⓘmatch scrutinee {
(Pat => Expr);*
}