Searched defs:TypeParam (Results 1 – 20 of 20) sorted by relevance
/prebuilts/go/linux-x86/src/cmd/compile/internal/types2/ |
D | typeparam.go | 19 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 …]
|
D | infer.go | 31 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 {
|
D | subst.go | 17 func makeSubstMap(tpars []*TypeParam, targs []Type) substMap { 28 func makeRenameMap(from, to []*TypeParam) substMap { 41 func (m substMap) lookup(tpar *TypeParam) Type {
|
D | typelists.go | 58 func bindTParams(list []*TypeParam) *TypeParamList {
|
D | instantiate.go | 201 func (check *Checker) verify(pos syntax.Pos, tparams []*TypeParam, targs []Type, ctxt *Context) (in…
|
D | signature.go | 38 func NewSignatureType(recv *Var, recvTypeParams, typeParams []*TypeParam, params, results *Tuple, v…
|
D | unify.go | 88 func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
|
D | object.go | 278 …peNameLazy(pos syntax.Pos, pkg *Package, name string, load func(named *Named) (tparams []*TypePara…
|
/prebuilts/go/linux-x86/src/go/types/ |
D | typeparam.go | 22 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 …]
|
D | infer.go | 34 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 {
|
D | subst.go | 20 func makeSubstMap(tpars []*TypeParam, targs []Type) substMap { 31 func makeRenameMap(from, to []*TypeParam) substMap { 44 func (m substMap) lookup(tpar *TypeParam) Type {
|
D | badlinkname.go | 20 func badlinkname_Checker_infer(*Checker, positioner, []*TypeParam, []Type, *Tuple, []*operand, bool…
|
D | typelists.go | 61 func bindTParams(list []*TypeParam) *TypeParamList {
|
D | instantiate.go | 204 func (check *Checker) verify(pos token.Pos, tparams []*TypeParam, targs []Type, ctxt *Context) (int…
|
D | unify.go | 91 func newUnifier(tparams []*TypeParam, targs []Type, enableInterfaceInference bool) *unifier {
|
D | signature.go | 49 func NewSignatureType(recv *Var, recvTypeParams, typeParams []*TypeParam, params, results *Tuple, v…
|
D | decl.go | 746 func (check *Checker) declareTypeParams(tparams []*TypeParam, names []*ast.Ident, scopePos token.Po…
|
D | object.go | 281 …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/ |
D | normalize.go | 63 func StructuralTerms(tparam *types.TypeParam) ([]*types.Term, error) {
|
/prebuilts/go/linux-x86/src/sort/ |
D | gen_sort_variants.go | 47 TypeParam string member
|