pub struct Indexer { /* private fields */ }Expand description
@acp:summary “Codebase indexer with parallel file processing” Uses tree-sitter AST parsing for accurate symbol extraction and git2 for metadata. Supports RFC-0006 documentation bridging.
Implementations§
Source§impl Indexer
impl Indexer
pub fn new(config: Config) -> Result<Self>
Sourcepub async fn index<P: AsRef<Path>>(&self, root: P) -> Result<Cache>
pub async fn index<P: AsRef<Path>>(&self, root: P) -> Result<Cache>
@acp:summary “Index the codebase and generate cache” @acp:ai-careful “This processes many files in parallel”
Sourcepub fn generate_vars(&self, cache: &Cache) -> VarsFile
pub fn generate_vars(&self, cache: &Cache) -> VarsFile
@acp:summary “Generate vars file from cache (schema-compliant)”
Auto Trait Implementations§
impl Freeze for Indexer
impl RefUnwindSafe for Indexer
impl Send for Indexer
impl Sync for Indexer
impl Unpin for Indexer
impl UnwindSafe for Indexer
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more