- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TypeParamList (0.12 sec)
-
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) -
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)