- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Clements (0.18 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirKDocReference.kt
import org.jetbrains.kotlin.kdoc.psi.impl.KDocName internal class KtFirKDocReference(element: KDocName) : KDocReference(element), KtFirReference { override fun KtAnalysisSession.resolveToSymbols(): Collection<KtSymbol> { val fullFqName = generateSequence(element) { it.parent as? KDocName }.last().getQualifiedNameAsFqName() val selectedFqName = element.getQualifiedNameAsFqName()
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 1.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
if (analysisContext.builtIns.areSameArrayTypeIgnoringProjections(containingArrayType, constantType)) { // If an element in the array has the same type as the containing array, it's a spread component that needs // to be expanded here. (It should have the array element type instead.) (constantValue as ArrayValue).value.expandArrayAnnotationValue(containingArrayType, analysisContext) } else {
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
collector.typesToShorten.distinctBy { it.element }.map { TypeToShortenInfo(it.element.createSmartPointer(), it.shortenedRef) }, collector.qualifiersToShorten.distinctBy { it.element }.map { QualifierToShortenInfo(it.element.createSmartPointer(), it.shortenedRef) }, collector.labelsToShorten.distinctBy { it.element }.map { ThisLabelToShortenInfo(it.element.createSmartPointer()) },
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/psiUtils.kt
} else { fir.findPsi() } ?: FirSyntheticFunctionInterfaceSourceProvider.findPsi(fir) } /** * Finds [PsiElement] which will be used as go-to referenced element for [KtPsiReference] * For data classes & enums generated members like `copy` `componentN`, `values` it will return corresponding enum/data class
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Mar 22 16:46:56 GMT 2024 - 2.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
* @param fullFqName the whole fully qualified name of the KDoc * @param contextElement the context element in which the KDoc is defined * * @return the collection of KtSymbol(s) resolved from the fully qualified name * based on the selected FqName and context element */ internal fun resolveKdocFqName( analysisSession: KtAnalysisSession, selectedFqName: FqName,
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
import org.jetbrains.kotlin.name.FqName import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.psi import org.jetbrains.kotlin.psi.* import org.jetbrains.kotlin.psi.psiUtil.* import org.jetbrains.kotlin.psi.stubs.elements.KtStubElementTypes import org.jetbrains.kotlin.util.OperatorNameConventions import org.jetbrains.kotlin.utils.addIfNotNull import org.jetbrains.kotlin.utils.addToStdlib.ifNotEmpty internal object FirReferenceResolveHelper {
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
return mapping[fir]?.getOrNull() } override fun visitElement(element: FirElement) { withElement(element) { if (element in statements) { // The leaf is in mapping, but its value is still 'null' mapping.computeIfAbsent(element) { _ -> unmappedCount -= 1
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KotlinFirReferenceContributor.kt
registerProvider provider@{ element: KtValueArgument -> if (element.isNamed()) return@provider null val annotationEntry = element.getParentOfTypeAndBranch<KtAnnotationEntry> { valueArgumentList } ?: return@provider null if (annotationEntry.valueArguments.size != 1) return@provider null KtDefaultAnnotationArgumentReference(element) } } }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Apr 10 16:23:23 GMT 2024 - 2.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
} private inline fun <R> wrapError(element: KtElement, action: () -> R): R { return try { action() } catch (e: Exception) { rethrowExceptionWithDetails( "Error during resolving call ${element::class}", exception = e, ) { withPsiEntry("psi", element, analysisSession::getModule)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 70.8K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt
private fun throwUnexpectedElementError(element: FirBasedSymbol<*>): Nothing { errorWithAttachment("Unexpected ${element::class.simpleName}") { withFirSymbolEntry("firSymbol", element) } } private fun throwUnexpectedElementError(element: FirElement): Nothing { errorWithAttachment("Unexpected ${element::class.simpleName}") {
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)