Home
last modified time | relevance | path

Searched defs:TypeParam (Results 1 – 20 of 20) sorted by relevance

/prebuilts/go/linux-x86/src/cmd/compile/internal/types2/
Dtypeparam.go19 type TypeParam struct { struct
20 check *Checker // for lazy type bound completion
21 id uint64 // unique id, for debugging only
22 obj *TypeName // corresponding type name
23 index int // type parameter index in source order, starting at 0
24 … // any type, but underlying is eventually *Interface for correct programs (see TypeParam.iface)
60 func (t *TypeParam) Obj() *TypeName { return t.obj }
64 func (t *TypeParam) Index() int {
69 func (t *TypeParam) Constraint() Type {
79 func (t *TypeParam) SetConstraint(bound Type) {
[all …]
Dinfer.go31 func (check *Checker) infer(pos syntax.Pos, tparams []*TypeParam, targs []Type, params *Tuple, args…
459 func (check *Checker) renameTParams(pos syntax.Pos, tparams []*TypeParam, typ Type) ([]*TypeParam, …
508 func typeParamsString(list []*TypeParam) string {
536 func isParameterized(tparams []*TypeParam, typ Type) bool {
643 func coreTerm(tpar *TypeParam) (*term, bool) {
682 func killCycles(tparams []*TypeParam, inferred []Type) {
788 func tparamIndex(list []*TypeParam, tpar *TypeParam) int {
Dsubst.go17 func makeSubstMap(tpars []*TypeParam, targs []Type) substMap {
28 func makeRenameMap(from, to []*TypeParam) substMap {
41 func (m substMap) lookup(tpar *TypeParam) Type {
Dtypelists.go58 func bindTParams(list []*TypeParam) *TypeParamList {
Dinstantiate.go201 func (check *Checker) verify(pos syntax.Pos, tparams []*TypeParam, targs []Type, ctxt *Context) (in…
Dsignature.go38 func NewSignatureType(recv *Var, recvTypeParams, typeParams []*TypeParam, params, results *Tuple, v…
Dunify.go88 func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
Dobject.go278 …peNameLazy(pos syntax.Pos, pkg *Package, name string, load func(named *Named) (tparams []*TypePara…
/prebuilts/go/linux-x86/src/go/types/
Dtypeparam.go22 type TypeParam struct { struct
23 check *Checker // for lazy type bound completion
24 id uint64 // unique id, for debugging only
25 obj *TypeName // corresponding type name
26 index int // type parameter index in source order, starting at 0
27 … // any type, but underlying is eventually *Interface for correct programs (see TypeParam.iface)
63 func (t *TypeParam) Obj() *TypeName { return t.obj }
67 func (t *TypeParam) Index() int {
72 func (t *TypeParam) Constraint() Type {
82 func (t *TypeParam) SetConstraint(bound Type) {
[all …]
Dinfer.go34 func (check *Checker) infer(posn positioner, tparams []*TypeParam, targs []Type, params *Tuple, arg…
462 func (check *Checker) renameTParams(pos token.Pos, tparams []*TypeParam, typ Type) ([]*TypeParam, T…
511 func typeParamsString(list []*TypeParam) string {
539 func isParameterized(tparams []*TypeParam, typ Type) bool {
646 func coreTerm(tpar *TypeParam) (*term, bool) {
685 func killCycles(tparams []*TypeParam, inferred []Type) {
791 func tparamIndex(list []*TypeParam, tpar *TypeParam) int {
Dsubst.go20 func makeSubstMap(tpars []*TypeParam, targs []Type) substMap {
31 func makeRenameMap(from, to []*TypeParam) substMap {
44 func (m substMap) lookup(tpar *TypeParam) Type {
Dbadlinkname.go20 func badlinkname_Checker_infer(*Checker, positioner, []*TypeParam, []Type, *Tuple, []*operand, bool…
Dtypelists.go61 func bindTParams(list []*TypeParam) *TypeParamList {
Dinstantiate.go204 func (check *Checker) verify(pos token.Pos, tparams []*TypeParam, targs []Type, ctxt *Context) (int…
Dunify.go91 func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
Dsignature.go49 func NewSignatureType(recv *Var, recvTypeParams, typeParams []*TypeParam, params, results *Tuple, v…
Ddecl.go746 func (check *Checker) declareTypeParams(tparams []*TypeParam, names []*ast.Ident, scopePos token.Po…
Dobject.go281 …ypeNameLazy(pos token.Pos, pkg *Package, name string, load func(named *Named) (tparams []*TypePara…
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/tools/internal/typeparams/
Dnormalize.go63 func StructuralTerms(tparam *types.TypeParam) ([]*types.Term, error) {
/prebuilts/go/linux-x86/src/sort/
Dgen_sort_variants.go47 TypeParam string member