Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for elseif (0.17 sec)

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

                is SamConstructorDescriptor -> KtSymbolKind.SAM_CONSTRUCTOR
                else -> when (containingDeclaration) {
                    is PackageFragmentDescriptor -> KtSymbolKind.TOP_LEVEL
                    is ClassDescriptor -> KtSymbolKind.CLASS_MEMBER
                    else -> KtSymbolKind.LOCAL
                }
            }
        }
    
    internal val CallableMemberDescriptor.isExplicitOverride: Boolean
    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/ReadWriteAccessCheckerFirImpl.kt

            val name = function.name ?: return null
            return if (Name.identifier(name) in OperatorConventions.ASSIGNMENT_OPERATIONS.values)
                ReferenceAccess.READ to assignment
            else
                null
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 10 16:23:23 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirKDocReference.kt

                when (symbol) {
                    is KtFirSyntheticJavaPropertySymbol -> listOfNotNull(symbol.javaGetterSymbol.psi, symbol.javaSetterSymbol?.psi)
                    is KtFirSymbol<*> -> getPsiDeclarations(symbol)
                    else -> listOfNotNull(symbol.psi)
                }
            }
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                    is FirAbstractSimpleImportingScope -> EXPLICIT
                    else -> LOCAL
                }
            }
    
            fun fromShortenOption(option: ShortenStrategy): ImportKind? = when (option) {
                ShortenStrategy.SHORTEN_AND_IMPORT -> EXPLICIT
                ShortenStrategy.SHORTEN_AND_STAR_IMPORT -> STAR
                else -> null
            }
        }
    }
    
    private data class AvailableSymbol<out T>(
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/psiUtils.kt

        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()
        } else {
            fir.findPsi()
        } ?: FirSyntheticFunctionInterfaceSourceProvider.findPsi(fir)
    }
    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)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                        else -> {
                            val descriptor = unwrappedType.constructor.declarationDescriptor
                            if (descriptor is TypeParameterDescriptor) {
                                renderTypeParameterType(descriptor, printer)
                            } else if (descriptor is ClassifierDescriptorWithTypeParameters) {
    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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirReference.kt

            with(analysisSession) {
                referenceTargetSymbols.flatMap { symbol ->
                    when (symbol) {
                        is KtFirSymbol<*> -> getPsiDeclarations(symbol)
                        else -> listOfNotNull(symbol.psi)
                    }
                }
            }
    
        fun getResolvedToPsi(analysisSession: KtAnalysisSession): Collection<PsiElement> =
            with(analysisSession) {
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            return if (resolveResult.receiverClassReference != null) {
                findParentSymbol(resolveResult.receiverClassReference, goBackSteps - 1, selectedFqName)
            } else {
                findParentSymbol(resolveResult.symbol, goBackSteps, 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)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                }
            }
    
    
            private fun DeclarationDescriptor.isDeclaredInOwner() = when (this) {
                is CallableDescriptor -> dispatchReceiverParameter?.containingDeclaration == owner
                else -> containingDeclaration == owner
            }
        }
    
        override fun getEmptyScope(): KtScope {
            return KtEmptyScope(token)
        }
    
        override fun getFileScope(fileSymbol: KtFileSymbol): KtScope {
    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)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiKotlinPropertySymbol.kt

            }
    
        override val backingFieldSymbol: KtBackingFieldSymbol?
            get() = withValidityAssertion {
                if (psi.isLocal) null
                else KtFe10PsiDefaultBackingFieldSymbol(propertyPsi = psi, owningProperty = this, analysisContext)
            }
    
        override val hasBackingField: Boolean
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top