Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Gitter (0.18 sec)

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

                }
            else firFunctionSymbol.valueParameters[valueParameterReference.parameterIndex]
        )
    
        // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to.
        // This visitor isn't type-safe anyway
        private inline fun <reified T> ConeContractDescriptionElement.accept() =
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jul 26 14:29:20 GMT 2023
    - 7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                        localName += current.name.asString()
                    } else {
                        className += current.name.asString()
                    }
                }
                is PropertyAccessorDescriptor -> {} // Filter out property accessors
                is CallableDescriptor -> {
                    if (!allowLocal) {
                        return null
                    }
    
                    localName += current.name.asString()
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         *
         * Relies on the fact that in such references only the last qualifier refers to the
         * actual extension callable, and the part before that refers to the receiver type (either fully
         * or partially qualified).
         *
         * For example, `foo.Foo.bar` may only refer to the extension callable `bar` with
         * a `foo.Foo` receiver type, and this function will only look for such combinations.
    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-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                    .hasScopeCloserThan(scopeForQualifiedAccess, expressionInScope)) return false
            val candidatesWithinSamePriorityScopes = candidates.filter { it.candidate.originScope == scopeForQualifiedAccess }
    
            // TODO isInBestCandidates should probably be used more actively to filter candidates
            return candidatesWithinSamePriorityScopes.isEmpty() ||
    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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiKotlinPropertySymbol.kt

            get() = withValidityAssertion { psi.isVar }
    
        override val getter: KtPropertyGetterSymbol
            get() = withValidityAssertion {
                val getter = psi.getter ?: return KtFe10PsiDefaultPropertyGetterSymbol(psi, analysisContext)
                return KtFe10PsiPropertyGetterSymbol(getter, analysisContext)
            }
    
        override val setter: KtPropertySetterSymbol?
            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)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                    it.isDeclaredInOwner() && it.isDelegatedIfRequired()
                }.mapToDelegatedIfRequired()
            }
    
            override fun getContributedFunctions(name: Name, location: LookupLocation): Collection<SimpleFunctionDescriptor> {
                return allMemberScope.getContributedFunctions(name, location).filter {
    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)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirDelegatingTypeScope.kt

        }
    
        override fun getCallableSignatures(nameFilter: KtScopeNameFilter): Sequence<KtCallableSignature<*>> = withValidityAssertion {
            firScope.getCallableSignatures(getPossibleCallableNames().filter(nameFilter), builder)
        }
    
        override fun getCallableSignatures(names: Collection<Name>): Sequence<KtCallableSignature<*>> = withValidityAssertion {
            firScope.getCallableSignatures(names, builder)
        }
    
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Fri May 19 11:53:15 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirPropertyDelegationMethodsReference.kt

            if (property.delegate == null) return emptyList()
            val getValueSymbol = (property.getter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
            val setValueSymbol = (property.setter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
            return listOfNotNull(
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 22 11:20:19 GMT 2023
    - 2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/contracts/descriptorContractUtils.kt

        ): T = constructor(variableReference.descriptor.toKtSymbol(analysisContext) as KtParameterSymbol)
    
        // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to.
        // This visitor isn't type-safe anyway
        private inline fun <reified T> ContractDescriptionElement.accept() = accept(this@ContractDescriptionElementToAnalysisApi, Unit) as T
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Dec 01 13:42:49 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                printer.append("?")
            }
        }
    
        private fun Fe10AnalysisContext.renderTypeAnnotationsDebug(type: KotlinType, printer: PrettyPrinter) {
            val annotations = type.annotations
                .filter { it.annotationClass?.classId != StandardClassIds.Annotations.ExtensionFunctionType }
    
            printer.printCollectionIfNotEmpty(annotations, separator = " ", postfix = "  ") {
                renderTypeAnnotationDebug(it, 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)
Back to top