pub struct ConceptNavigator<'g> { /* private fields */ }Expand description
Navigate code by semantic concepts.
Implementations§
pub fn new(graph: &'g CodeGraph) -> Self
Sourcepub fn find_concept(&self, query: ConceptQuery) -> Vec<CodeConcept>
pub fn find_concept(&self, query: ConceptQuery) -> Vec<CodeConcept>
Find code implementing a concept.
Sourcepub fn map_all_concepts(&self) -> Vec<CodeConcept>
pub fn map_all_concepts(&self) -> Vec<CodeConcept>
Map all concepts in the codebase.
Sourcepub fn explain_concept(&self, name: &str) -> Option<CodeConcept>
pub fn explain_concept(&self, name: &str) -> Option<CodeConcept>
Explain how a specific concept is implemented.
Auto Trait Implementations§
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