MCPcopy Create free account
hub / github.com/divan/depscheck / WalkObject

Method WalkObject

walker.go:94–153  ·  view source on GitHub ↗

WalkObject builds Selector from the given pkg and object. It recursively goes into nested functions/calls adding it as Deps.

(pkg *loader.PackageInfo, obj types.Object)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

WalkPackageMethod · 0.95
WalkFuncBodyMethod · 0.95

Calls 8

FindDefDeclMethod · 0.95
FnDeclMethod · 0.95
LOCMethod · 0.95
WalkFuncBodyMethod · 0.95
IsStdlibFunction · 0.85
printTypeFunction · 0.85
NewSelectorFunction · 0.85
HasRecursionMethod · 0.80

Tested by

no test coverage detected