Expand description
Greppy Trace - Complete Codebase Invocation Mapping
This module provides semantic code indexing and traversal capabilities:
- Symbol definitions (functions, classes, methods)
- Call graph edges
- Reference tracking (reads, writes, type annotations)
- Scope tree for context
- Token index for every identifier
@module trace
Re-exports§
pub use types::Edge;pub use types::RefKind;pub use types::Reference;pub use types::Scope;pub use types::ScopeKind;pub use types::Symbol;pub use types::SymbolFlags;pub use types::SymbolKind;pub use types::Token;pub use types::TokenKind;pub use types::NO_PARENT_SCOPE;pub use index::IndexStats;pub use index::SemanticIndex;pub use index::StringTable;pub use storage::load_index;pub use storage::load_index_streaming;pub use storage::save_index;pub use storage::trace_index_exists;pub use storage::trace_index_path;pub use traverse::find_call_refs;pub use traverse::find_dead_symbols;pub use traverse::find_read_refs;pub use traverse::find_refs;pub use traverse::find_refs_of_kind;pub use traverse::find_write_refs;pub use traverse::format_call_chain;pub use traverse::format_invocation_path;pub use traverse::trace_symbol;pub use traverse::trace_symbol_by_name;pub use traverse::InvocationPath as TraverseInvocationPath;pub use traverse::ReferenceContext;pub use traverse::TraceResult as TraverseTraceResult;pub use extract::detect_language;pub use extract::extract_file;pub use extract::is_treesitter_supported;pub use extract::ExtractedCall;pub use extract::ExtractedData;pub use extract::ExtractedRef;pub use extract::ExtractedScope;pub use extract::ExtractedSymbol;pub use extract::ExtractedToken;pub use extract::ExtractionMethod;pub use output::create_formatter;pub use output::AsciiFormatter;pub use output::ChainStep;pub use output::DeadCodeResult;pub use output::DeadSymbol;pub use output::FlowAction;pub use output::FlowResult;pub use output::FlowStep;pub use output::ImpactResult;pub use output::InvocationPath;pub use output::JsonFormatter;pub use output::OutputFormat;pub use output::PlainFormatter;pub use output::ReferenceInfo;pub use output::ReferenceKind;pub use output::RefsResult;pub use output::RiskLevel;pub use output::TraceFormatter;pub use output::TraceResult;pub use builder::build_and_save_index;pub use builder::build_index_parallel;pub use builder::BuildStats;pub use builder::SemanticIndexBuilder;pub use context::CacheStats;pub use context::CodeContext;pub use context::ContextBuilder;pub use context::FileCache;pub use snapshots::cleanup_snapshots;pub use snapshots::compare_snapshots;pub use snapshots::create_snapshot;pub use snapshots::delete_snapshot;pub use snapshots::latest_snapshot;pub use snapshots::list_snapshots;pub use snapshots::load_snapshot;pub use snapshots::snapshots_dir;pub use snapshots::FileMetrics;pub use snapshots::Snapshot;pub use snapshots::SnapshotComparison;pub use snapshots::SnapshotDiff;pub use snapshots::SnapshotList;pub use snapshots::SnapshotMetrics;pub use snapshots::SnapshotSummary;
Modules§
- builder
- Semantic Index Builder
- context
- Code Context Engine
- extract
- Trace Extract Module
- index
- Semantic Index - The core in-memory data structure
- output
- Output formatters for trace results
- snapshots
- Snapshot Management for Timeline Tracking
- storage
- Binary Storage with Memory Mapping
- traverse
- Graph Traversal Algorithms
- types
- Core Data Structures for Semantic Index