Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer interface {
Name() string // "stats", "merkle", "decode" — drives TUI labels and CLI flag names
Run(ctx context.Context, root *node.Node, opts Options) error
}
Analyzer is implemented by every annotation lens. Each lens walks the node tree and stamps its findings as Annotations. Implementations must be safe to call concurrently with other Analyzers.
type Suite ¶
type Suite struct {
// contains filtered or unexported fields
}
Suite holds a set of analyzers and runs them concurrently.
func Build ¶
Build constructs a Suite from Options, adding only the enabled analyzers. Lenses are registered here; adding a new lens means adding one line.
Click to show internal directories.
Click to hide internal directories.