- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for Chen (0.13 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
import org.jetbrains.kotlin.types.error.ErrorUtils internal val MemberDescriptor.ktSymbolKind: KtSymbolKind get() { return when (this) { is PropertyAccessorDescriptor -> KtSymbolKind.ACCESSOR is SamConstructorDescriptor -> KtSymbolKind.SAM_CONSTRUCTOR else -> when (containingDeclaration) { is PackageFragmentDescriptor -> KtSymbolKind.TOP_LEVEL
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/references/KtFirKDocReference.kt
analysisSession: KtAnalysisSession, referenceTargetSymbols: Collection<KtSymbol>, ): Collection<PsiElement> = with(analysisSession) { referenceTargetSymbols.flatMap { symbol -> when (symbol) { is KtFirSyntheticJavaPropertySymbol -> listOfNotNull(symbol.javaGetterSymbol.psi, symbol.javaSetterSymbol?.psi) is KtFirSymbol<*> -> getPsiDeclarations(symbol)
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
* * To properly resolve qualifier parts in the middle, * we need to resolve the whole qualifier to understand which parts of the qualifier are package or class qualifiers. * And then we will be able to resolve the qualifier selected by the user to the proper class, package or callable. * * It's possible that the whole qualifier is invalid, in this case we still want to resolve our [selectedFqName].
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/components/KtFirReferenceShortener.kt
} val ConeKotlinType.candidateClassId: ClassId? get() { return when (this) { is ConeErrorType -> when (val diagnostic = this.diagnostic) { // Tolerate code that misses type parameters while shortening it. is ConeUnmatchedTypeArgumentsError -> diagnostic.symbol.classId else -> null
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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt
renderType(type, printer) } } private fun Fe10AnalysisContext.renderType(type: KotlinType, printer: PrettyPrinter) { renderTypeAnnotationsDebug(type, printer) when (val unwrappedType = type.unwrap()) { is DynamicType -> printer.append("dynamic") is FlexibleType -> renderFlexibleType(unwrappedType, 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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirReference.kt
fun getResolvedToPsi(analysisSession: KtAnalysisSession, referenceTargetSymbols: Collection<KtSymbol>): Collection<PsiElement> = with(analysisSession) { referenceTargetSymbols.flatMap { symbol -> when (symbol) { is KtFirSymbol<*> -> getPsiDeclarations(symbol) else -> listOfNotNull(symbol.psi) } } }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Mar 18 17:35:32 GMT 2024 - 2K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt
?.setPreserveSourceElement() ?.build() as? D ?: it } } private fun DeclarationDescriptor.isDeclaredInOwner() = when (this) { is CallableDescriptor -> dispatchReceiverParameter?.containingDeclaration == owner else -> containingDeclaration == owner } } override fun getEmptyScope(): KtScope {
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/psiUtils.kt
KtFakeSourceElementKind.DataClassGeneratedMembers, KtFakeSourceElementKind.ImplicitConstructor, KtFakeSourceElementKind.ImplicitJavaAnnotationConstructor, ) internal fun FirElement.getAllowedPsi() = when (val source = source) { null -> null is KtRealPsiSourceElement -> source.psi is KtFakeSourceElement -> if (source.kind in allowedFakeElementKinds) psi else null else -> null }
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/components/KtFirAnalysisSessionComponent.kt
val KtType.coneType: ConeKotlinType get() { require(this is KtFirType) return coneType } val KtTypeProjection.coneTypeProjection: ConeTypeProjection get() = when (this) { is KtStarTypeProjection -> ConeStarProjection is KtTypeArgumentWithVariance -> { typeContext.createTypeArgument(type.coneType, variance.convertVariance()) as ConeTypeProjection
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:13:17 GMT 2024 - 4.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
forQualifiedType: Boolean ): FqName { val qualified = when { forQualifiedType -> expression.parent?.takeIf { it is KtUserType && it.referenceExpression === expression } else -> expression.getQualifiedExpressionForSelector() } return when (qualified) { null -> FqName(expression.getReferencedName()) else -> {
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)