Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TypeParamList (0.09 sec)

  1. api/go1.18.txt

    pkg go/types, method (*Named) SetTypeParams([]*TypeParam)
    pkg go/types, method (*Named) TypeArgs() *TypeList
    pkg go/types, method (*Named) TypeParams() *TypeParamList
    pkg go/types, method (*Signature) RecvTypeParams() *TypeParamList
    pkg go/types, method (*Signature) TypeParams() *TypeParamList
    pkg go/types, method (*Term) String() string
    pkg go/types, method (*Term) Tilde() bool
    pkg go/types, method (*Term) Type() Type
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. doc/next/6-stdlib/99-minor/go/types/66626.md

    [`Scope.Children`](/pkg/go/types#Scope.Children),
    [`Struct.Fields`](/pkg/go/types#Struct.Fields),
    [`Tuple.Variables`](/pkg/go/types#Tuple.Variables),
    [`TypeList.Types`](/pkg/go/types#TypeList.Types),
    [`TypeParamList.TypeParams`](/pkg/go/types#TypeParamList.TypeParams),
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jul 31 22:54:09 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. api/next/66626.txt

    pkg go/types, method (*Struct) Fields() iter.Seq[*Var] #66626
    pkg go/types, method (*Tuple) Variables() iter.Seq[*Var] #66626
    pkg go/types, method (*TypeList) Types() iter.Seq[Type] #66626
    pkg go/types, method (*TypeParamList) TypeParams() iter.Seq[*TypeParam] #66626
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jul 31 22:54:09 UTC 2024
    - 743 bytes
    - Viewed (0)
  4. api/go1.23.txt

    pkg go/types, method (*Alias) Rhs() Type #66559
    pkg go/types, method (*Alias) SetTypeParams([]*TypeParam) #67143
    pkg go/types, method (*Alias) TypeArgs() *TypeList #67143
    pkg go/types, method (*Alias) TypeParams() *TypeParamList #67143
    pkg go/types, method (*Func) Signature() *Signature #65772
    pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    		buf.WriteByte(' ')
    		w.writeType(buf, res.At(0).Type())
    	default:
    		buf.WriteByte(' ')
    		w.writeParams(buf, res, false)
    	}
    }
    
    func (w *Walker) writeTypeParams(buf *bytes.Buffer, tparams *types.TypeParamList, withConstraints bool) {
    	buf.WriteByte('[')
    	c := tparams.Len()
    	for i := 0; i < c; i++ {
    		if i > 0 {
    			buf.WriteString(", ")
    		}
    		tp := tparams.At(i)
    		w.writeType(buf, tp)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. doc/go_spec.html

    in square brackets rather than parentheses
    [<a href="#Go_1.18">Go 1.18</a>].
    </p>
    
    <pre class="ebnf">
    TypeParameters  = "[" TypeParamList [ "," ] "]" .
    TypeParamList   = TypeParamDecl { "," TypeParamDecl } .
    TypeParamDecl   = IdentifierList TypeConstraint .
    </pre>
    
    <p>
    All non-blank names in the list must be unique.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top