Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 163 for is (0.14 sec)

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

                    return when (this) {
                        is FirLocalScope -> Local
                        is FirScriptDeclarationsScope -> ScriptDeclarations
                        is FirClassUseSiteMemberScope -> ClassUseSite
                        is FirNestedClassifierScope -> NestedClassifier
                        is FirTypeParameterScope -> TypeParameter
                        is FirNestedClassifierScopeWithSubstitution -> originalScope.toPartialOrder()
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                is DynamicType -> printer.append("dynamic")
                is FlexibleType -> renderFlexibleType(unwrappedType, printer)
                is DefinitelyNotNullType -> renderDefinitelyNotNullType(unwrappedType, printer)
                is ErrorType -> renderErrorType(printer)
                is CapturedType -> renderCapturedType(unwrappedType, printer)
                is NewCapturedType -> renderCapturedType(unwrappedType, 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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         */
        private fun KtAnalysisSession.findParentSymbol(symbol: KtSymbol, goBackSteps: Int, selectedFqName: FqName): KtSymbol? {
            if (symbol !is KtDeclarationSymbol && symbol !is KtPackageSymbol) return null
    
            if (symbol is KtDeclarationSymbol) {
                goToNthParent(symbol, goBackSteps)?.let { return it }
            }
    
            return getPackageSymbolIfPackageExists(selectedFqName)
        }
    
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                .scopes
                .filter { it.kind is KtScopeKind.ImportingScope }
            return KtScopeContext(importingScopes, implicitReceivers = emptyList(), token)
        }
    
        private inline fun <reified T : DeclarationDescriptor> getDescriptor(symbol: KtSymbol): T? {
            return when (symbol) {
                is KtFe10DescSymbol<*> -> symbol.descriptor as? T
                is KtFe10PsiSymbol<*, *> -> symbol.descriptor as? T
    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)
  5. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/callResolver/Fe10IdeNormalAnalysisSourceModuleResolveCallTestGenerated.java

    /*
     * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.components.callResolver;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 19:28:19 GMT 2024
    - 53.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/psiUtils.kt

    internal fun FirElement.getAllowedPsi() = when (val source = source) {
        null -> null
        is KtRealPsiSourceElement -> source.psi
        is KtFakeSourceElement -> if (source.kind in allowedFakeElementKinds) psi else null
        else -> null
    }
    
    fun FirElement.findPsi(): PsiElement? =
        getAllowedPsi()
    
    fun FirBasedSymbol<*>.findPsi(): PsiElement? {
        return if (this is FirCallableSymbol<*>) {
            fir.unwrapFakeOverridesOrDelegated().findPsi()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 22 16:46:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirAnalysisSessionComponent.kt

            check(firDiagnostic is KtPsiDiagnostic)
            return firDiagnostic.asKtDiagnostic()
        }
    
        val KtType.coneType: ConeKotlinType
            get() {
                require(this is KtFirType)
                return coneType
            }
    
        val KtTypeProjection.coneTypeProjection: ConeTypeProjection
            get() = when (this) {
                is KtStarTypeProjection -> ConeStarProjection
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirReference.kt

            symbol.origin == KtSymbolOrigin.INTERSECTION_OVERRIDE && symbol is KtCallableSymbol -> symbol.getIntersectionOverriddenSymbols()
            else -> listOf(symbol)
        }
        return intersectionOverriddenSymbolsOrSingle.mapNotNull { it.findPsiForReferenceResolve() }
    }
    
    private fun KtSymbol.findPsiForReferenceResolve(): PsiElement? {
        require(this is KtFirSymbol<*>)
        return firSymbol.fir.findReferencePsi()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Mar 18 17:35:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiDestructuringDeclarationSymbol.kt

    /*
     * Copyright 2010-2022 JetBrains s.r.o. and Kotlin Programming Language contributors.
     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.descriptors.symbols.psiBased
    
    import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisContext
    import org.jetbrains.kotlin.analysis.api.descriptors.Fe10AnalysisFacade.AnalysisMode
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/types/Fe10IdeNormalAnalysisSourceModuleBuiltInTypeTestGenerated.java

    /*
     * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.types;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 27 20:30:06 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top