pub struct PrattParser { /* private fields */ }Implementations§
Source§impl PrattParser
impl PrattParser
pub fn new() -> Self
pub fn get_operator_info(&self, op: &str) -> Option<&OpInfo>
pub fn is_prefix_operator(op: &str) -> bool
pub fn is_postfix_operator(op: &str) -> bool
pub fn parse_expression_from_pairs<'a>( &self, pairs: Vec<Pair<'a, Rule>>, parser: &mut PureRustPerlParser, ) -> Result<AstNode, Box<dyn Error>>
Trait Implementations§
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