pub struct PrattParser { /* private fields */ }Implementations§
Source§impl PrattParser
impl PrattParser
pub fn new(tokenizer_parser: ParserHandle) -> Self
pub fn with_rules( self, rules: impl IntoIterator<Item = PrattParserRule>, ) -> Self
pub fn push_rules(&mut self, rules: impl IntoIterator<Item = PrattParserRule>)
Trait Implementations§
Source§impl Clone for PrattParser
impl Clone for PrattParser
Source§fn clone(&self) -> PrattParser
fn clone(&self) -> PrattParser
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Parser for PrattParser
impl Parser for PrattParser
fn parse<'a>( &self, registry: &ParserRegistry, input: &'a str, ) -> ParseResult<'a>
fn extend(&self, parser: ParserHandle)
Auto Trait Implementations§
impl Freeze for PrattParser
impl !RefUnwindSafe for PrattParser
impl Send for PrattParser
impl Sync for PrattParser
impl Unpin for PrattParser
impl UnsafeUnpin for PrattParser
impl !UnwindSafe for PrattParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more