Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Schile (0.15 sec)

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

     */
    @Suppress("UNCHECKED_CAST")
    private fun <T : CallableDescriptor> T.unwrapUseSiteSubstitutionOverride(): T {
        var current: CallableDescriptor = this
        while (original != current) {
            current = current.original
        }
        return current as T
    }
    
    internal fun KotlinType.toKtType(analysisContext: Fe10AnalysisContext): KtType {
    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

            val getterNames = possibleGetMethodNames(fqName.shortNameOrSpecial())
            return getterNames.flatMap { getterName ->
                resolveKdocFqName(fqName.parent().child(getterName), contextElement, trySyntheticGetters = false)
            }
        }
    
        private fun KtAnalysisSession.getExtensionReceiverSymbolByThisQualifier(
            fqName: FqName,
            contextElement: KtElement,
    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-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            var parent = parent
            while (parent is KtDotQualifiedExpression) {
                if (parent.selectorExpression !== this) return true
                parent = parent.parent
            }
            return false
        }
    
        private fun KtSimpleNameExpression.isPartOfUserTypeRefQualifier(): Boolean {
            var parent = parent
            while (parent is KtUserType) {
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                val mappingForType = type.toTypeArgumentMapping() ?: continue
    
                val queue = ArrayDeque<TypeArgumentMapping>()
                queue.addLast(mappingForType)
    
                while (queue.isNotEmpty()) {
                    val (typeParameterOwner, mapping) = queue.removeFirst()
                    for (superType in typeParameterOwner.typeConstructor.supertypes) {
    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)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                        .sortedBy { it.id }
                }.distinct()
    
            return exitPoints.size > 1
        }
    
        private fun CFGNode<*>.unwrap(): CFGNode<*> {
            var current = this
    
            while (current.isExitNode()) {
                val following = current.followingNodes
                if (following.size == 1) {
                    current = following.first()
                } else {
                    break
                }
    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)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                    (parent.tryBlock == child || child in parent.catchClauses) && isUsed(parent)
    
                // If expressions always use their condition, and the branches are used if the
                // If itself is used as an expression.
                is KtIfExpression ->
                    parent.condition == child ||
                            ((parent.then == child ||
                                    parent.`else` == child) && isUsed(parent))
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                type = javaType
            }
    
            val javaTypeParameterStack = MutableJavaTypeParameterStack()
    
            var psiClass = PsiTreeUtil.getContextOfType(useSitePosition, PsiClass::class.java, false)
            while (psiClass != null && psiClass.name == null || psiClass is PsiTypeParameter) {
                psiClass = PsiTreeUtil.getContextOfType(psiClass, PsiClass::class.java, true)
            }
            if (psiClass != null) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            //   fun foo(x: Int) {
            //     when (x) {
            //       -2_147_483_628 -> ...
            //   } }
            // That constant is encoded as `unaryMinus` call with the const 2147483628 of long type, while the resolved type is Int.
            // After computing the compile time constant, we need to adjust its type here.
            val expression =
                if (expectedKind != null && expectedKind != kind && value is Number) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

        private fun KtCallInfo?.toKtCallCandidateInfos(bestCandidateDescriptors: Set<CallableDescriptor>): List<KtCallCandidateInfo> {
            // TODO: We should prefer to compare symbols instead of descriptors, but we can't do so while symbols are not cached.
            fun KtCall.isInBestCandidates(): Boolean {
                val descriptor = this.safeAs<KtFunctionCall<*>>()?.descriptor as? CallableDescriptor
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
Back to top