Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for it (0.13 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-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)
  6. 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)
  7. 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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

            }
    
            getContainingDeclarationForDependentDeclaration(symbol)?.let { return it }
    
            if (symbolModule is KtDanglingFileModule && symbolModule.resolutionMode == DanglingFileResolutionMode.IGNORE_SELF) {
                if (hasParentPsi(symbol)) {
                    // getSymbol(ClassId) returns a symbol from the original file, so here we avoid using it
                    return getContainingDeclarationByPsi(symbol)
                }
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

         *
         * This have a few caveats when it comes to the inner classes. TODO Provide a reference to some more in-detail description of that.
         *
         * @receiver A declaration that needs to be unwrapped.
         * @return An unsubstituted declaration ([originalForSubstitutionOverride]]) if it exists and if it does not have any change
         * in signature; `null` otherwise.
         */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                val availableScopes = towerDataElement
                    .getAvailableScopes { coneType -> withSyntheticPropertiesScopeOrSelf(coneType) }
                    .flatMap { flattenFirScope(it) }
                availableScopes.map { IndexedValue(index, it) }
            }
            val ktScopesWithKinds = createScopesWithKind(firScopes)
    
            return KtScopeContext(ktScopesWithKinds, implicitReceivers, token)
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top