Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for elseif (9.05 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-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)
  3. 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)
  4. 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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                forQualifiedType -> expression.parent?.takeIf { it is KtUserType && it.referenceExpression === expression }
                else -> expression.getQualifiedExpressionForSelector()
            }
            return when (qualified) {
                null -> FqName(expression.getReferencedName())
                else -> {
                    val refs =
    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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            }
    
            val parameterCount = declaration.valueParameters.size + (if (declaration.isExtensionDeclaration()) 1 else 0)
    
            val function = when {
                declaration.hasModifier(KtTokens.SUSPEND_KEYWORD) -> analysisContext.builtIns.getSuspendFunction(parameterCount)
                else -> analysisContext.builtIns.getFunction(parameterCount)
            }
    
    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)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                        is IntersectionTypeConstructor -> typeConstructor.supertypes.flatMapTo(mutableSetOf()) { it.collectLowerBounds() }
                        else -> setOf(this)
                    }
    
                }
                else -> return emptySet()
            }
        }
    
        private fun KotlinType.collectUpperBounds(): Set<KotlinType> {
            when (this) {
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                    return false
                }
    
                is KtScriptSymbol -> {
                    // Scripts are always top-level
                    return false
                }
    
                else -> {}
            }
    
            if (symbol is KtSymbolWithKind && symbol.symbolKind == KtSymbolKind.TOP_LEVEL) {
                val containingFile = (symbol.firSymbol.fir as? FirElementWithResolveState)?.getContainingFile()
    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

            var current = this
    
            while (current.isExitNode()) {
                val following = current.followingNodes
                if (following.size == 1) {
                    current = following.first()
                } else {
                    break
                }
            }
    
            return current
        }
    
        private fun CFGNode<*>.isExitNode(): Boolean {
            return when (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/KtSymbolByFirBuilder.kt

                    else -> throwUnexpectedElementError(firSymbol)
                }
            }
    
    
            fun buildPropertyAccessorSymbol(firSymbol: FirPropertyAccessorSymbol): KtPropertyAccessorSymbol {
                return when {
                    firSymbol.isGetter -> buildGetterSymbol(firSymbol)
                    else -> buildSetterSymbol(firSymbol)
                }
            }
    
    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)
Back to top