package
0.18.1
Repository: https://go.googlesource.com/tools
Documentation: pkg.go.dev

# Functions

EnclosingSignature returns the signature of the innermost function enclosing the syntax node denoted by path (see [astutil.PathEnclosingInterval]), or nil if the node is not within a function.
FormatTypeParams turns TypeParamList into its Go representation, such as: [T, Y].
TypesFromContext returns the type (or perhaps zero or multiple types) of the "hole" into which the expression identified by path must fit.