Versions in this module Expand all Collapse all v0 v0.4.1 Aug 2, 2022 Changes in this version + func All(typ types.Type, fn func(*types.Term) bool) bool + func Any(typ types.Type, fn func(*types.Term) bool) bool + func Callee(info *types.Info, call *ast.CallExpr) types.Object + func CoreType(typ types.Type) types.Type + func Dereference(T types.Type) types.Type + func DereferenceR(T types.Type) types.Type + func FuncName(f *types.Func) string + func IntuitiveMethodSet(T types.Type, msets *MethodSetCache) []*types.Selection + func IsObject(obj types.Object, name string) bool + func IsPointerLike(T types.Type) bool + func IsSlice(term *types.Term) bool + func IsType(T types.Type, name string) bool + type Field struct + Path []int + Tag string + Var *types.Var + func FlattenFields(T *types.Struct) []Field + type Hasher = typeutil.Hasher + func MakeHasher() Hasher + type Iterator struct + func NewIterator(elem types.Type) *Iterator + func (t *Iterator) Elem() types.Type + func (t *Iterator) String() string + func (t *Iterator) Underlying() types.Type + type Map struct + func (m *Map[V]) At(key types.Type) (V, bool) + func (m *Map[V]) Delete(key types.Type) bool + func (m *Map[V]) Iterate(f func(key types.Type, value V)) + func (m *Map[V]) Keys() []types.Type + func (m *Map[V]) KeysString() string + func (m *Map[V]) Len() int + func (m *Map[V]) Set(key types.Type, value V) + func (m *Map[V]) SetHasher(h typeutil.Hasher) + func (m *Map[V]) String() string + type MethodSetCache = typeutil.MethodSetCache + type TypeSet struct + Terms []*types.Term + func NewTypeSet(typ types.Type) TypeSet + func (ts TypeSet) All(fn func(*types.Term) bool) bool + func (ts TypeSet) Any(fn func(*types.Term) bool) bool + func (ts TypeSet) CoreType() types.Type