Versions in this module Expand all Collapse all v1 v1.0.1 Oct 21, 2026 Changes in this version + func FormatSearchSummary(summary SearchSummary) string + func Index(files []SourceFile, opts Options) (Result, []Diagnostic, error) + type Call struct + CalleeID string + CallerID string + Candidates []Candidate + ContextID string + IsAmbiguous bool + Location Span + type Candidate struct + Confidence float64 + SymbolID string + type Diagnostic struct + Code string + Level DiagnosticLevel + Line int + Message string + Path string + type DiagnosticLevel string + const DiagnosticLevelError + const DiagnosticLevelWarning + type Edge struct + ContextID string + FromID string + ToID string + Type EdgeType + type EdgeType string + const EdgeTypeCalls + const EdgeTypeContains + const EdgeTypeDeclares + const EdgeTypeImplements + const EdgeTypeImports + const EdgeTypeInherits + const EdgeTypeReferences + type Language string + const LanguageCSharp + const LanguageGo + const LanguageUnknown + type Options struct + DefaultContextID string + IncludeGenerated bool + IncludeTests bool + LanguageOverrides map[string]Language + type Reference struct + Candidates []Candidate + ContextID string + FromID string + IsAmbiguous bool + Location Span + ToID string + type RelevantFile struct + Path string + Symbols []string + TextMatches int + type Result struct + Calls []Call + Edges []Edge + References []Reference + Symbols []Symbol + type SearchSummary struct + Query string + Relationships []SymbolRelationship + RelevantFiles []RelevantFile + func BuildSearchSummary(query string, files []SourceFile, index Result) (SearchSummary, error) + type SourceFile struct + Content string + ContextID string + Language Language + Path string + type Span struct + LineEnd int + LineStart int + Path string + type Symbol struct + ContainerFQN string + ContextID string + Declarations []Span + FQN string + ID string + Kind SymbolKind + Language Language + LanguageSpecificKind string + Name string + Signature string + StableKey string + type SymbolKind string + const SymbolKindEvent + const SymbolKindField + const SymbolKindFunction + const SymbolKindIndexer + const SymbolKindMethod + const SymbolKindNamespace + const SymbolKindPackage + const SymbolKindProperty + const SymbolKindType + type SymbolRelationship struct + From string + To string