pub struct TreeSitterProvider { /* private fields */ }Expand description
Provider that uses tree-sitter for real symbol extraction.
Implements the LanguageProvider trait from language.rs.
Implementations§
Source§impl TreeSitterProvider
impl TreeSitterProvider
Sourcepub fn merge_warm_cache(&self, cache: SymbolCache)
pub fn merge_warm_cache(&self, cache: SymbolCache)
Merge a pre-warmed symbol cache into the parser. Called from the main loop when the background indexer completes.
Trait Implementations§
Source§impl LanguageProvider for TreeSitterProvider
impl LanguageProvider for TreeSitterProvider
Auto Trait Implementations§
impl !Freeze for TreeSitterProvider
impl !RefUnwindSafe for TreeSitterProvider
impl Send for TreeSitterProvider
impl !Sync for TreeSitterProvider
impl Unpin for TreeSitterProvider
impl UnsafeUnpin for TreeSitterProvider
impl UnwindSafe for TreeSitterProvider
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more