suggest

package
v2.2.9 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindMainFile

func FindMainFile(pass *analysis.Pass) (*ast.File, bool)

Types

type CallExprInfo

type CallExprInfo struct {
	FuncType *types.Func
	File     *ast.File
	Call     *ast.CallExpr
}

func FindCallExpr

func FindCallExpr(files []*ast.File, ssaGraph *buildssa.SSA, funcTypes []*types.Func) ([]*CallExprInfo, error)

type ImportInfo

type ImportInfo struct {
	File  *ast.File
	Ident string
	Path  string
}

Jump to

Keyboard shortcuts

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