Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TypeParamList (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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