- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for TypeParam (0.28 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
memberSymbol.typeParameterSymbols.zip(member.typeParameters).forEach { (typeParamSymbol, typeParam) -> javaTypeParameterStack.addParameter(JavaTypeParameterImpl(typeParam), typeParamSymbol) } } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 20:26:34 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring.go
} else if w.ctxt == nil && t.TypeParams().Len() != 0 { // For type hashing, don't need to format the TypeParams // parameterized type w.tParamList(t.TypeParams().list()) } case *TypeParam: if t.obj == nil { w.error("unnamed type parameter") break } if i := tparamIndex(w.tparams.list(), t); i >= 0 { // The names of type parameters that are declared by the type being
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
// TODO(adonovan): think about generics, and also generic aliases. under := aliases.Unalias(typ) // Don't call Underlying unconditionally: although it removes // Named and Alias, it also removes TypeParam. if n, ok := under.(*types.Named); ok { under = n.Underlying() } switch under := under.(type) { case *types.Basic: switch { case under.Info()&types.IsNumeric != 0:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// accessed. methods []*Func // loader may be provided to lazily load type parameters, underlying type, and methods. loader func(*Named) (tparams []*TypeParam, underlying Type, methods []*Func) } // instance holds information that is only necessary for instantiated named // types. type instance struct { orig *Named // original, uninstantiated type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/go/types/named.go
// accessed. methods []*Func // loader may be provided to lazily load type parameters, underlying type, and methods. loader func(*Named) (tparams []*TypeParam, underlying Type, methods []*Func) } // instance holds information that is only necessary for instantiated named // types. type instance struct { orig *Named // original, uninstantiated type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyIntegrationTest.groovy
when: fails() then: failure.assertHasCause("Please use the ObjectFactory.$method method to create a property of type $type$typeParam.") where: prop | method | type | typeParam 'prop1' | 'listProperty()' | 'List' | '<T>' 'prop2' | 'setProperty()' | 'Set' | '<T>'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 30.3K bytes - Viewed (0) -
api/go1.23.txt
pkg go/ast, func Preorder(Node) iter.Seq[Node] #66339 pkg go/types, method (*Alias) Origin() *Alias #67143 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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 20:48:49 UTC 2024 - 8.4K bytes - Viewed (0) -
src/go/types/decl.go
if t, _ := t.(*Interface); t != nil { t.implicit = true } return t } return check.typ(x) } func (check *Checker) declareTypeParams(tparams []*TypeParam, names []*ast.Ident, scopePos token.Pos) []*TypeParam { // Use Typ[Invalid] for the type constraint to ensure that a type // is present even if the actual constraint has not been assigned // yet.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
} } testenv.MustHaveGoBuild(t) tmpdir := mktmpdir(t) defer os.RemoveAll(tmpdir) // Check go files in test/typeparam, except those that fail for a known // reason. rootDir := filepath.Join(gorootTest, "typeparam") list, err := os.ReadDir(rootDir) if err != nil { t.Fatal(err) } for _, entry := range list {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
if typ == nil || seen[typ] { return nil } if seen == nil { seen = make(map[types.Type]bool) } seen[typ] = true if tpar, ok := aliases.Unalias(typ).(*types.TypeParam); ok { terms, err := typeparams.StructuralTerms(tpar) if err != nil { return nil // invalid type } for _, term := range terms { subpath := lockPath(tpkg, term.Type(), seen)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0)