Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TypeParams (0.06 sec)

  1. src/cmd/cgo/ast_go118.go

    	case *ast.IndexListExpr:
    		f.walk(&n.X, ctxExpr, visit)
    		f.walk(n.Indices, ctxExpr, visit)
    	}
    }
    
    func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
    	return n.TypeParams
    }
    
    func typeSpecTypeParams(n *ast.TypeSpec) *ast.FieldList {
    	return n.TypeParams
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Nov 30 21:45:10 UTC 2022
    - 730 bytes
    - Viewed (0)
  2. api/go1.18.txt

    pkg go/ast, type FuncType struct, TypeParams *FieldList
    pkg go/ast, type IndexListExpr struct
    pkg go/ast, type IndexListExpr struct, Indices []Expr
    pkg go/ast, type IndexListExpr struct, Lbrack token.Pos
    pkg go/ast, type IndexListExpr struct, Rbrack token.Pos
    pkg go/ast, type IndexListExpr struct, X Expr
    pkg go/ast, type TypeSpec struct, TypeParams *FieldList
    pkg go/constant, method (Kind) String() string
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K 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 Sep 09 11:13:09 UTC 2025
    - 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  6. api/go1.24.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
    pkg go/types, method (*Union) Terms() iter.Seq[*Term] #66626
    pkg hash/maphash, func Comparable[$0 comparable](Seed, $0) uint64 #54670
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Dec 17 21:28:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top