Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TypeParams (0.06 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. guava/src/com/google/common/reflect/Invokable.java

         */
        @Override
        Type getGenericReturnType() {
          Class<?> declaringClass = getDeclaringClass();
          TypeVariable<?>[] typeParams = declaringClass.getTypeParameters();
          if (typeParams.length > 0) {
            return Types.newParameterizedType(declaringClass, typeParams);
          } else {
            return declaringClass;
          }
        }
    
        @Override
        Type[] getGenericParameterTypes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K 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

    		fmt.Fprintf(buf, "$%d", typ.Index())
    
    	default:
    		panic(fmt.Sprintf("unknown type %T", typ))
    	}
    }
    
    func (w *Walker) writeSignature(buf *bytes.Buffer, sig *types.Signature) {
    	if tparams := sig.TypeParams(); tparams != nil {
    		w.writeTypeParams(buf, tparams, true)
    	}
    	w.writeParams(buf, sig.Params(), sig.Variadic())
    	switch res := sig.Results(); res.Len() {
    	case 0:
    		// nothing to do
    	case 1:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
Back to top