- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 207 for x_type (0.28 sec)
-
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/types/KtType.kt
import org.jetbrains.kotlin.name.Name public sealed interface KaType : KaLifetimeOwner, KaAnnotated { public val nullability: KaTypeNullability /** * The abbreviated type for this expanded [KaType], or `null` if this type has not been expanded from an abbreviated type or the * abbreviated type cannot be resolved. *
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 8.5K bytes - Viewed (0) -
src/cmd/fix/cftype.go
// (*unsafe.Pointer)(x) where x is type *bad -> (*unsafe.Pointer)(unsafe.Pointer(x)) // (*bad.type)(x) where x is type *unsafe.Pointer -> (*bad.type)(unsafe.Pointer(x)) walk(f, func(n any) { if n == nil { return } // Find pattern like (*a.b)(x) c, ok := n.(*ast.CallExpr) if !ok { return } if len(c.Args) != 1 { return } p, ok := c.Fun.(*ast.ParenExpr) if !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:25:49 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/type.go
package syntax import "go/constant" // A Type represents a type of Go. // All types implement the Type interface. // (This type originally lived in types2. We moved it here // so we could depend on it from other packages without // introducing an import cycle.) type Type interface { // Underlying returns the underlying type of a type. // Underlying types are never Named, TypeParam, or Alias types. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/compile/internal/ir/type.go
func TypeNode(t *types.Type) Node { if n := t.Obj(); n != nil { if n.Type() != t { base.Fatalf("type skew: %v has type %v, but expected %v", n, n.Type(), t) } return n.(*Name) } return newTypeNode(t) } // A DynamicType represents a type expression whose exact type must be // computed dynamically. type DynamicType struct { miniExpr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Aug 20 05:56:49 UTC 2023 - 1.7K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/psiTypeProvider/AbstractAnalysisApiPsiTypeProviderTest.kt
executeOnPooledThreadInReadAction { analyze(declaration) { val ktType = declaration.getReturnKaType() appendLine("${KaType::class.simpleName}: ${AnalysisApiPsiTypeProviderTestUtils.render(analysisSession, ktType)}") val psiType = ktType.asPsiType(psiContext, allowErrorTypes = false)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 2.5K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeProvider/AbstractTypeReferenceTest.kt
val actual = analyseForTest(expressionAtCaret) { val ktType = expressionAtCaret.getKtType() buildString { appendLine("${KtTypeReference::class.simpleName}: ${expressionAtCaret.text}") appendLine("${KaType::class.simpleName}: ${ktType.render(position = Variance.INVARIANT)}") } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 1.6K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeCreator/AbstractTypeParameterTypeTest.kt
val symbol = expressionAtCaret.getTypeParameterSymbol() val ktType = buildTypeParameterType(symbol) buildString { appendLine("${KtTypeParameter::class.simpleName}: ${expressionAtCaret.text}") appendLine("${KaType::class.simpleName}: ${ktType.render(position = Variance.INVARIANT)}") } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/compile/internal/reflectdata/helpers.go
// and returns an expression that yields the *runtime._type value // representing that map type. func MakeMapRType(pos src.XPos, n *ir.MakeExpr) ir.Node { assertOp(n, ir.OMAKEMAP) if hasRType(n, n.RType, "RType") { return n.RType } return mapRType(pos, n.Type()) } // MakeSliceElemRType asserts that n is a "make" operation for a slice // type, and returns an expression that yields the *runtime._type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 04:50:32 UTC 2023 - 7.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt
do { val oldResult = result result = when (type) { is FlexibleType -> type.upperBound is DefinitelyNotNullType -> type.original else -> type } } while (result !== oldResult) return result } private fun asPsiTypeElement(type: KotlinType, useSitePosition: PsiElement, mode: TypeMappingMode): PsiTypeElement? {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 20:26:34 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/type.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package types2 import "cmd/compile/internal/syntax" // A Type represents a type of Go. // All types implement the Type interface.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:55:41 UTC 2023 - 316 bytes - Viewed (0)