Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for type$val (0.12 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            get() = analysisSession.token
    
        override fun getKtExpressionType(expression: KtExpression): KaType? {
            // Not sure if it's safe enough. In theory, some annotations on expressions might change its type
            val unwrapped = expression.unwrapParenthesesLabelsAndAnnotations() as? KtExpression ?: return null
            if (unwrapped.getParentOfTypes(false, *NON_EXPRESSION_CONTAINERS) != null) {
                return null
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            val firCall = infixCallExpression.getOrBuildFirSafe<FirFunctionCall>(firResolveSession) ?: return null
    
            // There is only one parameter for infix functions; get its type
            val argumentsToParameters = firCall.argumentsToSubstitutedValueParameters(substituteWithErrorTypes = false) ?: return null
            return argumentsToParameters.values.singleOrNull()?.substitutedType?.asKtType()
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                is KtTypeElement -> type
                is KtNameReferenceExpression -> unwrapType(type.parent)
                else -> unexpectedElementError<PsiElement>(type)
            } ?: unexpectedElementError<PsiElement>(type)
    
            val ktTypeElementFromFirType = unwrapType(fir.psi)
    
            val classifiersToSkip = expression.parents.takeWhile { it != ktTypeElementFromFirType }.count()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          }
    
          boolean isNullableTypeVariable(Type type) {
            if (!(type instanceof TypeVariable)) {
              return false;
            }
            TypeVariable<?> typeVar = (TypeVariable<?>) type;
            for (AnnotatedType bound : typeVar.getAnnotatedBounds()) {
              // Until Java 15, the isNullableTypeVariable case here won't help:
              // https://bugs.openjdk.java.net/browse/JDK-8202469
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssagen/ssa.go

    // (therefore SSAable). val is the value to be stored. The function returns an SSA
    // value representing a pointer to the autotmp location.
    func (s *state) openDeferSave(t *types.Type, val *ssa.Value) *ssa.Value {
    	if !ssa.CanSSA(t) {
    		s.Fatalf("openDeferSave of non-SSA-able type %v val=%v", t, val)
    	}
    	if !t.HasPointers() {
    		s.Fatalf("openDeferSave of pointerless type %v val=%v", t, val)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top