type go/types.Term
29 uses
go/types (current package)
builtins.go#L969: var terms []*Term
iter.go#L125: func (u *Union) Terms() iter.Seq[*Term] {
iter.go#L126: return func(yield func(term *Term) bool) {
subst.go#L348: func (subst *subster) term(t *Term) *Term {
union.go#L18: terms []*Term // list of syntactical terms (not a canonicalized termlist)
union.go#L23: func NewUnion(terms []*Term) *Union {
union.go#L31: func (u *Union) Term(i int) *Term { return u.terms[i] }
union.go#L37: type Term term
union.go#L40: func NewTerm(tilde bool, typ Type) *Term { return &Term{tilde, typ} }
union.go#L42: func (t *Term) Tilde() bool { return t.tilde }
union.go#L43: func (t *Term) Type() Type { return t.typ }
union.go#L44: func (t *Term) String() string { return (*term)(t).String() }
union.go#L58: var terms []*Term
union.go#L139: func parseTilde(check *Checker, tx ast.Expr) *Term {
union.go#L162: check.recordTypeAndValue(tx, typexpr, &Union{[]*Term{term}}, nil)
union.go#L171: func overlappingTerm(terms []*Term, y *Term) int {
golang.org/x/tools/go/types/typeutil
map.go#L345: func (h hasher) hashTermSet(terms []*types.Term) uint32 {
golang.org/x/tools/internal/gcimporter
iimport.go#L1020: terms := make([]*types.Term, r.uint64())
ureader_yes.go#L405: terms := make([]*types.Term, r.Len())
golang.org/x/tools/internal/typeparams
coretype.go#L112: func NormalTerms(T types.Type) ([]*types.Term, error) {
coretype.go#L126: return []*types.Term{types.NewTerm(false, T)}, nil
normalize.go#L63: func StructuralTerms(tparam *types.TypeParam) ([]*types.Term, error) {
normalize.go#L81: func InterfaceTermSet(iface *types.Interface) ([]*types.Term, error) {
normalize.go#L91: func UnionTermSet(union *types.Union) ([]*types.Term, error) {
normalize.go#L95: func computeTermSet(typ types.Type) ([]*types.Term, error) {
normalize.go#L106: var terms []*types.Term