pub struct PythonAnalyzerAdapter { /* private fields */ }Expand description
Adapter for Python semantic analyzer
Implementations§
Trait Implementations§
Source§impl Default for PythonAnalyzerAdapter
impl Default for PythonAnalyzerAdapter
Source§impl SemanticAnalyzerProvider for PythonAnalyzerAdapter
impl SemanticAnalyzerProvider for PythonAnalyzerAdapter
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 PythonAnalyzerAdapter
impl RefUnwindSafe for PythonAnalyzerAdapter
impl Send for PythonAnalyzerAdapter
impl Sync for PythonAnalyzerAdapter
impl Unpin for PythonAnalyzerAdapter
impl UnwindSafe for PythonAnalyzerAdapter
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