pub struct EarleyForest<'a, ASTNode: Clone> { /* private fields */ }Implementations§
Source§impl<'a, ASTNode: Clone> EarleyForest<'a, ASTNode>
impl<'a, ASTNode: Clone> EarleyForest<'a, ASTNode>
Source§impl<'a, ASTNode: Clone> EarleyForest<'a, ASTNode>
impl<'a, ASTNode: Clone> EarleyForest<'a, ASTNode>
pub fn eval_recursive(&self, ptrees: &ParseTrees) -> Result<ASTNode, String>
pub fn eval_all_recursive( &self, ptrees: &ParseTrees, ) -> Result<Vec<ASTNode>, String>
Auto Trait Implementations§
impl<'a, ASTNode> Freeze for EarleyForest<'a, ASTNode>
impl<'a, ASTNode> !RefUnwindSafe for EarleyForest<'a, ASTNode>
impl<'a, ASTNode> !Send for EarleyForest<'a, ASTNode>
impl<'a, ASTNode> !Sync for EarleyForest<'a, ASTNode>
impl<'a, ASTNode> Unpin for EarleyForest<'a, ASTNode>
impl<'a, ASTNode> !UnwindSafe for EarleyForest<'a, ASTNode>
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