pub struct PythonAnalyzer;Expand description
Python semantic analyzer
Implementations§
Trait Implementations§
Source§impl Default for PythonAnalyzer
impl Default for PythonAnalyzer
Source§impl SemanticAnalyzer for PythonAnalyzer
impl SemanticAnalyzer for PythonAnalyzer
Source§fn analyze(&self, _code: &str) -> SemanticResult<SemanticInfo>
fn analyze(&self, _code: &str) -> SemanticResult<SemanticInfo>
Analyze code and extract semantic information
Source§fn extract_symbols(&self, _code: &str) -> SemanticResult<Vec<Symbol>>
fn extract_symbols(&self, _code: &str) -> SemanticResult<Vec<Symbol>>
Extract symbols from code
Source§fn get_hover_info(
&self,
_code: &str,
_position: Position,
) -> SemanticResult<Option<String>>
fn get_hover_info( &self, _code: &str, _position: Position, ) -> SemanticResult<Option<String>>
Get hover information at a specific position
Auto Trait Implementations§
impl Freeze for PythonAnalyzer
impl RefUnwindSafe for PythonAnalyzer
impl Send for PythonAnalyzer
impl Sync for PythonAnalyzer
impl Unpin for PythonAnalyzer
impl UnwindSafe for PythonAnalyzer
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