Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for it (0.12 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        if (analysisContext.builtIns.areSameArrayTypeIgnoringProjections(containingArrayType, constantType)) {
            // If an element in the array has the same type as the containing array, it's a spread component that needs
            // to be expanded here. (It should have the array element type instead.)
            (constantValue as ArrayValue).value.expandArrayAnnotationValue(containingArrayType, analysisContext)
        } else {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            }
        }
    
        /**
         * Finds the parent symbol of the given [ResolveResult] by traversing back up the symbol hierarchy a [goBackSteps] steps,
         * or until the containing class or object symbol is found.
         *
         * Knows about the [ResolveResult.receiverClassReference] field and uses it in case it's not empty.
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                    it.isDeclaredInOwner() && it.isDelegatedIfRequired()
                }.mapToDelegatedIfRequired()
            }
    
            override fun getContributedFunctions(name: Name, location: LookupLocation): Collection<SimpleFunctionDescriptor> {
                return allMemberScope.getContributedFunctions(name, location).filter {
                    it.isDeclaredInOwner() && it.isDelegatedIfRequired()
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

            val annotations = type.annotations
                .filter { it.annotationClass?.classId != StandardClassIds.Annotations.ExtensionFunctionType }
    
            printer.printCollectionIfNotEmpty(annotations, separator = " ", postfix = "  ") {
                renderTypeAnnotationDebug(it, printer)
            }
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

            val resolvedCall = call.getResolvedCall(bindingContext) ?: return null
            val typeProjection = call.typeArguments.find { it.typeReference == ktTypeReference } ?: return null
            val index = call.typeArguments.indexOf(typeProjection)
            val paramDescriptor = resolvedCall.candidateDescriptor.typeParameters.find { it.index == index } ?: return null
            return resolvedCall.typeArguments[paramDescriptor]
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    scope.processFunctionsByName(selectedName) { add(it.fir.buildSymbol(builder)) }
                    scope.processPropertiesByName(selectedName) { add(it.fir.buildSymbol(builder)) }
                }
                scope.processClassifiersByName(selectedName) { addIfNotNull(it.fir.buildSymbol(builder)) }
                builder.createPackageSymbolIfOneExists(selectedFqName)?.let(::add)
            }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

                            getExpectedType(whenExpression)?.let { return it }
    
                            val entries = whenExpression.entries
                            val entryExpressions = entries.mapNotNull { entry -> entry.expression?.takeUnless { expression == it } }
                            val kotlinTypes = entryExpressions.mapNotNull { analysisContext.analyze(it).getType(it) }
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Oct 24 20:59:56 GMT 2023
    - 15.5K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            }
    
            val exitPoints = firTargets
                .mapNotNull { findLast(it) }
                .flatMap { node ->
                    node.followingNodes
                        .filter { it !is StubNode }
                        .map { it.unwrap() }
                        .distinct()
                        .sortedBy { it.id }
                }.distinct()
    
            return exitPoints.size > 1
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            val capturedSymbols = capturedData.symbols
            val capturedValues = capturedSymbols.map { it.value }
            val injectedSymbols = capturedSymbols.map {
                InjectedValue(it.symbol, it.contextReceiverNumber, it.typeRef, it.value.isMutated)
            }
    
            codeFragment.conversionData = CodeFragmentConversionData(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                is ConeDefinitelyNotNullType -> original.getDirectSuperTypes(shouldApproximate).map {
                    ConeDefinitelyNotNullType.create(it, analysisSession.useSiteSession.typeContext) ?: it
                }
                is ConeIntersectionType -> intersectedTypes.asSequence().flatMap { it.getDirectSuperTypes(shouldApproximate) }
                is ConeErrorType -> emptySequence()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top