Documentation
¶
Overview ¶
Package graph builds call graphs from type-checked Go packages and extracts dependency edges using SSA and CHA analysis.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildResult ¶
type BuildResult struct {
Edges []Edge
}
BuildResult holds the edges extracted from call graph analysis.
type Edge ¶
type Edge struct {
SourceName string // e.g., "Bar"
SourcePackage string // e.g., "example.com/test/pkg/foo"
SourceFile string // absolute path
TargetName string
TargetPackage string
TargetFile string
EdgeType string // "calls", "implements", "imports"
}
Edge represents a dependency relationship between two symbols.
Click to show internal directories.
Click to hide internal directories.