callgraph

package
v0.23.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package callgraph preserves the legacy caller-edge API while delegating all semantic work to the canonical goanalysis owner.

Index

Constants

This section is empty.

Variables

View Source
var ErrLoadFailed = errors.New("callgraph: Go analysis load failed")

Functions

This section is empty.

Types

type CallEdge

type CallEdge struct {
	CallerFile, CallerSymbol string
	CallerLine               int
	CalleeFile, CalleeSymbol string
	CalleeReceiver           string
}

func Build

func Build(ctx context.Context, root string) ([]CallEdge, error)

Build is retained for library compatibility. New Map/CLI code consumes the call edges already produced during Map.Build and does not invoke this path.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL