Skip to main content

symbol_context

Function symbol_context 

Source
pub fn symbol_context<S: GraphStore + ?Sized>(
    store: &S,
    branch: &str,
    query: &str,
    options: AgentQueryOptions,
) -> Result<AgentSymbolContextResponse>
Expand description

360° view of exactly one resolved symbol: direct callers, callees, and type usages. Unlike the old name-based GraphStore::symbol_context, this goes through resolve_symbol first so an ambiguous short name (e.g. two unrelated beginArray methods) surfaces candidates instead of silently picking one — the same ambiguity handling find_callers/get_subgraph already have.