pub trait Peek {
// Required method
fn peek<'a>(parser: &mut Parser<'a>) -> Result<bool>;
}
Expand description
A trait for whether an AST node looks like it comes next.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.