pub struct LanguageAnalyzer { /* private fields */ }
Expand description
Language-specific symbol extraction
Implementations§
Source§impl LanguageAnalyzer
impl LanguageAnalyzer
pub fn new(language: &LanguageSupport) -> Self
Sourcepub fn extract_symbols(&self, tree: &SyntaxTree) -> Vec<SymbolInfo>
pub fn extract_symbols(&self, tree: &SyntaxTree) -> Vec<SymbolInfo>
Extract symbols from syntax tree
Auto Trait Implementations§
impl Freeze for LanguageAnalyzer
impl RefUnwindSafe for LanguageAnalyzer
impl Send for LanguageAnalyzer
impl Sync for LanguageAnalyzer
impl Unpin for LanguageAnalyzer
impl UnwindSafe for LanguageAnalyzer
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