pub struct FallbackAnalyzerAdapter { /* private fields */ }Expand description
Adapter for fallback semantic analyzer
Implementations§
Trait Implementations§
Source§impl Default for FallbackAnalyzerAdapter
impl Default for FallbackAnalyzerAdapter
Source§impl SemanticAnalyzerProvider for FallbackAnalyzerAdapter
impl SemanticAnalyzerProvider for FallbackAnalyzerAdapter
Source§fn analyze(&self, code: &str) -> ProviderResult<SemanticInfo>
fn analyze(&self, code: &str) -> ProviderResult<SemanticInfo>
Analyze code and extract semantic information
Source§fn extract_symbols(&self, code: &str) -> ProviderResult<Vec<Symbol>>
fn extract_symbols(&self, code: &str) -> ProviderResult<Vec<Symbol>>
Extract symbols from code
Source§fn get_hover_info(
&self,
code: &str,
position: Position,
) -> ProviderResult<Option<String>>
fn get_hover_info( &self, code: &str, position: Position, ) -> ProviderResult<Option<String>>
Get hover information at a specific position
Auto Trait Implementations§
impl Freeze for FallbackAnalyzerAdapter
impl RefUnwindSafe for FallbackAnalyzerAdapter
impl Send for FallbackAnalyzerAdapter
impl Sync for FallbackAnalyzerAdapter
impl Unpin for FallbackAnalyzerAdapter
impl UnwindSafe for FallbackAnalyzerAdapter
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