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