Documentation
¶
Overview ¶
Package subst is an excerpt from x/tools/go/ssa responsible for performing type substitution in types defined in terms of type parameters with provided type arguments.
Copy of https://cs.opensource.google/go/x/tools/+/refs/tags/v0.33.0:go/ssa/subst.go Any changes to this copy are labelled with GOPHERJS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subster ¶
type Subster struct {
// contains filtered or unexported fields
}
Subster performs type parameter substitution.
func New ¶
New creates a new Subster with a given a map from type parameters and the arguments that should be used to replace them. If the map is empty, nil is returned.
Click to show internal directories.
Click to hide internal directories.