Expand description
Read-only trace helpers exposed through the engine boundary.
Structs§
- Class
Member Trace - Result of tracing a class / enum / store MEMBER: the
--trace FILE:NAMEfallback whenNAMEis not a top-level export but a member declared on one (issue #1744). The trace runs on the module graph only, so it reports the OWNING export’s reachability and usage (the gating precondition for member-level crediting) plus a pointer to the right--unused-*-memberscommand, rather than per-member crediting provenance. - Clone
Trace - Result of tracing a clone: all groups containing the code at a source location or addressed by a stable clone fingerprint.
- Dependency
Trace - Result of tracing a dependency: where it is used.
- Export
Reference - A direct reference to an export.
- Export
Trace - Result of tracing an export: why it is considered used or unused.
- File
Trace - Result of tracing all edges for a file.
- Impact
Closure Gap - One coordination-gap entry in an
ImpactClosureTrace. - Impact
Closure Trace - Result of computing the impact closure for a single file as the seed.
- Import
Path Hop - One import edge on an
ImportPathTrace. - Import
Path Trace - Result of asking how one module reaches another: the shortest import path.
- Pipeline
Timings - Pipeline performance timings.
- ReExport
Chain - A re-export chain showing how an export is propagated.
- Trace
Provenance - Which configs name which files and which dependency names, collected by one analysis for the trace output.
- Trace
Source - A config that names a traced file or a traced dependency, and the key that names it.
- Traced
Clone Group - One clone group returned from a clone trace request.
- Traced
Export - An export with usage information.
- Traced
ReExport - A re-export with source information.
Enums§
- Import
Path Endpoint - Which endpoint of a
--pathrequest did not resolve to exactly one module. - Semantic
Class Method Resolution Error - Stable reason why an exact class-method target cannot be resolved.
Functions§
- reconcile_
semantic_ trace_ reachability - Reconcile checker-backed trace evidence with graph reachability while retaining non-crediting evidence for inspection.
- semantic_
symbol_ for_ class_ member - Resolve the source identity for an exact semantic class-member query.
- semantic_
symbol_ for_ exact_ class_ method - Resolve one exact exported class method for semantic impact analysis.
- semantic_
symbol_ for_ export - Resolve the source identity for an exact semantic export query.
- trace_
class_ member - Trace a class / enum / store member (the
--trace FILE:MEMBERfallback whenMEMBERis not a top-level export). See issue #1744. - trace_
clone - Trace duplicate-code groups that contain a source location.
- trace_
clone_ by_ fingerprint - Trace a duplicate-code group by its stable content fingerprint.
- trace_
dependency - Trace where a dependency is used.
- trace_
export - Trace why an export is considered used or unused.
- trace_
file - Trace all graph edges for a file.
- trace_
impact_ closure - Trace the impact closure for a file.
- trace_
import_ path - Trace the shortest import path between two modules.
- trace_
import_ path_ with_ session - Trace the shortest import path through an existing analysis session.