Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for KaConstructorSymbol (0.24 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt

                append(
                    when (this@with) {
                        is KaFunctionSymbol -> callableId ?: name
                        is KaSamConstructorSymbol -> callableId ?: name
                        is KaConstructorSymbol -> "<constructor>"
                        is KaPropertyGetterSymbol -> callableId ?: "<getter>"
                        is KaPropertySetterSymbol -> callableId ?: "<setter>"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirResolveExtensionInfoProvider.kt

                    with(analysisSession) {
                        yield(declaration.getSymbol() as S)
                    }
                }
            }
        }
    
        override fun getConstructors(): Sequence<KaConstructorSymbol> = withValidityAssertion {
            emptySequence()
        }
    
        override fun getPackageSymbols(nameFilter: KaScopeNameFilter): Sequence<KaPackageSymbol> = withValidityAssertion {
            sequence {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

                is FirAnnotationCall -> {
                    if (unsubstitutedKtSignature.symbol !is KaConstructorSymbol) return null
                    @Suppress("UNCHECKED_CAST") // safe because of the above check on targetKtSymbol
                    KaAnnotationCall(
                        partiallyAppliedSymbol as KaPartiallyAppliedFunctionSymbol<KaConstructorSymbol>,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt

                            ?.takeUnless { it.isScript() }
                            ?.javaFileFacadeFqName?.asString()
                    } else {
                        val classId = (containingSymbolOrSelf as? KaConstructorSymbol)?.containingClassId
                            ?: (containingSymbolOrSelf as? KaCallableSymbol)?.callableId?.classId
                        classId?.takeUnless { it.shortClassName.isSpecial }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirSymbolProvider.kt

                    withPsiEntry("function", psi, analysisSession::getModule)
                }
            }
        }
    
        override fun getConstructorSymbol(psi: KtConstructor<*>): KaConstructorSymbol {
            return firSymbolBuilder.functionLikeBuilder.buildConstructorSymbol(
                psi.resolveToFirSymbolOfType<FirConstructorSymbol>(firResolveSession)
            )
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 17:29:30 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/KtDeclarationRenderer.kt

                is KaAnonymousFunctionSymbol -> anonymousFunctionRenderer.renderSymbol(analysisSession, symbol, this, printer)
                is KaConstructorSymbol -> constructorRenderer.renderSymbol(analysisSession, symbol, this, printer)
                is KaFunctionSymbol -> functionSymbolRenderer.renderSymbol(analysisSession, symbol, this, printer)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                    ?.takeUnless { it.isScript() }
                    ?.javaFileFacadeFqName?.asString()
            } else {
                val classId = (containingSymbolOrSelf as? KaConstructorSymbol)?.containingClassId
                    ?: containingSymbolOrSelf.callableId?.classId
                classId?.takeUnless { it.shortClassName.isSpecial }
                    ?.asFqNameString()
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KaFe10Resolver.kt

            val argumentMapping = createArgumentMapping(partiallyAppliedSymbol.signature)
            if (partiallyAppliedSymbol.signature.symbol is KaConstructorSymbol) {
                @Suppress("UNCHECKED_CAST")
                val partiallyAppliedConstructorSymbol = partiallyAppliedSymbol as KaPartiallyAppliedFunctionSymbol<KaConstructorSymbol>
                when (val callElement = call.callElement) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            else -> unexpectedElementError("KtSymbol", this)
        }
    }
    
    
    internal fun ConstructorDescriptor.toKtConstructorSymbol(analysisContext: Fe10AnalysisContext): KaConstructorSymbol {
        if (this is TypeAliasConstructorDescriptor) {
            return this.underlyingConstructorDescriptor.toKtConstructorSymbol(analysisContext)
        }
    
        return KaFe10DescConstructorSymbol(this, analysisContext)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top