Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KtCallableDeclaration (0.3 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

        ): Collection<ResolveResult> {
            val owner = contextElement.parentOfType<KtDeclaration>() ?: return emptyList()
            if (fqName.pathSegments().singleOrNull()?.asString() == "this") {
                if (owner is KtCallableDeclaration && owner.receiverTypeReference != null) {
                    val symbol = owner.getSymbol() as? KtCallableSymbol ?: return emptyList()
                    return listOfNotNull(symbol.receiverParameter?.toResolveResult())
    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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                    parent.resolveToFirSymbolOfTypeSafe<FirValueParameterSymbol>(firResolveSession, FirResolvePhase.TYPES)?.fir?.returnTypeRef
    
                parent is KtCallableDeclaration && (parent is KtNamedFunction || parent is KtProperty)
                        && (parent.receiverTypeReference === this || parent.typeReference === this) -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top