pub struct TreeSitterHeaderParser;Expand description
Tree-sitter implementation of HeaderParser.
Trait Implementations§
Source§impl Clone for TreeSitterHeaderParser
impl Clone for TreeSitterHeaderParser
impl Copy for TreeSitterHeaderParser
Source§impl Debug for TreeSitterHeaderParser
impl Debug for TreeSitterHeaderParser
Source§impl Default for TreeSitterHeaderParser
impl Default for TreeSitterHeaderParser
Source§impl HeaderParser for TreeSitterHeaderParser
impl HeaderParser for TreeSitterHeaderParser
Source§fn parse(
&self,
language: Language,
source: &str,
) -> Result<TranslationUnit, ParseError>
fn parse( &self, language: Language, source: &str, ) -> Result<TranslationUnit, ParseError>
Parses a complete header translation unit.
Auto Trait Implementations§
impl Freeze for TreeSitterHeaderParser
impl RefUnwindSafe for TreeSitterHeaderParser
impl Send for TreeSitterHeaderParser
impl Sync for TreeSitterHeaderParser
impl Unpin for TreeSitterHeaderParser
impl UnsafeUnpin for TreeSitterHeaderParser
impl UnwindSafe for TreeSitterHeaderParser
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