pub struct TypeScriptAnalyzer;Expand description
TypeScript semantic analyzer
Implementations§
Trait Implementations§
Source§impl Default for TypeScriptAnalyzer
impl Default for TypeScriptAnalyzer
Source§impl SemanticAnalyzer for TypeScriptAnalyzer
impl SemanticAnalyzer for TypeScriptAnalyzer
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 TypeScriptAnalyzer
impl RefUnwindSafe for TypeScriptAnalyzer
impl Send for TypeScriptAnalyzer
impl Sync for TypeScriptAnalyzer
impl Unpin for TypeScriptAnalyzer
impl UnwindSafe for TypeScriptAnalyzer
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