MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / typeSet

Method typeSet

types/interface.go:25–25  ·  view source on GitHub ↗

typeSet returns the type set for interface t.

()

Source from the content-addressed store, hash-verified

23
24// typeSet returns the type set for interface t.
25func (t *Interface) typeSet() *_TypeSet { return computeInterfaceTypeSet(t.check, nopos, t) }
26
27// emptyInterface represents the empty interface
28var emptyInterface = Interface{complete: true, tset: &topTypeSet}

Callers 15

NumMethodsMethod · 0.95
MethodMethod · 0.95
EmptyMethod · 0.95
IsComparableMethod · 0.95
IsMethodSetMethod · 0.95
comparableFunction · 0.45
hasNilFunction · 0.45
identicalFunction · 0.45
indexExprMethod · 0.45
parseUnionFunction · 0.45
NewMethodSetFunction · 0.45
implementsMethod · 0.45

Calls 1

computeInterfaceTypeSetFunction · 0.85

Tested by 1

TestTypeSetStringFunction · 0.36