Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for work (0.13 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSession.kt

            }
    
            val shadowedScope = GlobalSearchScope.union(
                buildSet {
                    // Add an empty scope to the shadowed set to give GlobalSearchScope.union something
                    // to work with if there are no extension tools.
                    // If there are extension tools, any empty scopes, whether from shadowedSearchScope
                    // on the extension tools or from this add() call, will be ignored.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 18 10:43:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

     *
     * Since this fallback is not suitable for symbols from binary libraries in Standalone mode, the symbol names provider absolutely needs to
     * work there. This functionality is covered by package scope tests.
     */
    @OptIn(ExperimentalTopLevelDeclarationsGenerationApi::class)
    internal object DeclarationsInPackageProvider {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

            return getFirTypeScope(type)
                ?.withSyntheticPropertiesScopeOrSelf(type.coneType)
                ?.let { convertToKtTypeScope(it) }
        }
    
        override fun getSyntheticJavaPropertiesScope(type: KtType): KtTypeScope? {
            check(type is KtFirType) { "KtFirScopeProvider can only work with KtFirType, but ${type::class} was provided" }
    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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

                goToNthParent(symbol, goBackSteps)?.let { return it }
            }
    
            return getPackageSymbolIfPackageExists(selectedFqName)
        }
    
        /**
         * N.B. Works only for [KtClassOrObjectSymbol] parents chain.
         */
        private fun KtAnalysisSession.goToNthParent(symbol: KtDeclarationSymbol, steps: Int): KtDeclarationSymbol? {
            var currentSymbol = symbol
    
    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)
  5. ReadMe.md

    After cloning the project, import the project in IntelliJ by choosing the project directory in the Open project dialog.
    
    For handy work with compiler tests it's recommended to use [
    Kotlin Compiler Test Helper](https://github.com/demiurg906/test-data-helper-plugin)
    
    ### Dependency verification
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

        is KtDotQualifiedExpression -> receiverExpression
        is KtThisExpression -> labelQualifier
        else -> error("Unexpected ${this::class}")
    }
    
    /**
     * N.B. We don't use [containingClassOrObject] because it works only for [KtDeclaration]s,
     * and also check only the immediate (direct) parent.
     *
     * For this function, we want to find the parent [KtClassOrObject] declaration no matter
     * how far it is from the element.
     */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            qualifier: KtSimpleNameExpression,
            wholeTypeFir: FirResolvedTypeRef
        ): ClassId? {
            val qualifierToResolve = qualifier.parent as KtUserType
            // FIXME make it work with generics in functional types (like () -> AA.BB<CC, AA.DD>)
            val wholeType = when (val psi = wholeTypeFir.psi) {
                is KtUserType -> psi
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                    }
                }
    
                is KtClassLikeSymbol -> {
                    val outerClassId = symbol.classIdIfNonLocal?.outerClassId
                    if (outerClassId != null) { // Won't work for local and top-level classes, or classes inside a script
                        val outerFirClassifier = symbolFirSession.firProvider.getFirClassifierByFqName(outerClassId) ?: return null
    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/components/KtFirDataFlowInfoProvider.kt

                        mapping.computeIfAbsent(element) { _ ->
                            unmappedCount -= 1
                            // Here we intentionally use the 'Optional' wrapper to make 'computeIfAbsent' work smoothly
                            Optional.ofNullable(computeTarget(element))
                        }
                    }
    
                    if (unmappedCount > 0) {
                        element.acceptChildren(this)
    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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

         * Note that, if the calleeExpression is already a KtCallExpression, then we don't do this because such a callExpression can be properly
         * resolved to the desired FIR element. That is, cases like `getHighLevelFunction()()` just works, where the both `KtCallExpression`
         * resolve to the desired FIR element.
         */
        private fun KtElement.getContainingCallExpressionForCalleeExpression(): KtCallExpression? {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
Back to top