View definition

(*Program).PathEnclosingInterval

Defined in github.com/golang/tools/go/loader/loader.go

Description

PathEnclosingInterval returns the PackageInfo and ast.Node that contain source interval [start, end), and all the node's ancestors up to the AST root. It searches all ast.Files of all packages in prog. exact is defined as for astutil.PathEnclosingInterval.

The zero value is returned if not found.