pub struct TreeSitterParser { /* private fields */ }Implementations§
Source§impl TreeSitterParser
impl TreeSitterParser
pub fn new() -> Result<Self, ParseError>
Trait Implementations§
Source§impl Parser for TreeSitterParser
impl Parser for TreeSitterParser
type Error = ParseError
fn parse_cells(&mut self, tokens: CellStream) -> Result<SourceFile, Self::Error>
Auto Trait Implementations§
impl Freeze for TreeSitterParser
impl RefUnwindSafe for TreeSitterParser
impl Send for TreeSitterParser
impl Sync for TreeSitterParser
impl Unpin for TreeSitterParser
impl UnsafeUnpin for TreeSitterParser
impl UnwindSafe for TreeSitterParser
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