- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 127 for if (0.12 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescSyntheticFieldSymbol.kt
val accessorPsi = descriptor.containingDeclaration.toSourceElement.getPsi() if (accessorPsi is KtPropertyAccessor) { val accessorPointer = KtPsiBasedSymbolPointer.createForSymbolFromPsi<KtPropertyAccessorSymbol>(accessorPsi) if (accessorPointer != null) { return KtFe10DescSyntheticFieldSymbolPointer(accessorPointer) } }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:46 GMT 2024 - 3.2K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SubstitutorFactory.kt
override val analysisSession: KtFe10AnalysisSession ) : KtSubstitutorFactory(), Fe10KtAnalysisSessionComponent { override fun buildSubstitutor(builder: KtSubstitutorBuilder): KtSubstitutor { if (builder.mappings.isEmpty()) return KtSubstitutor.Empty(token) TODO() }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Jul 14 17:32:09 GMT 2023 - 996 bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceResolveProvider.kt
with(reference) { return analysisSession.resolveToSymbols() } } override fun isImplicitReferenceToCompanion(reference: KtReference): Boolean { if (reference !is KtSimpleNameReference) { return false } val referenceElement = reference.element
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Jun 30 13:43:30 GMT 2023 - 1.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ReferenceResolveProvider.kt
descriptor.toKtSymbol(analysisContext) } } override fun isImplicitReferenceToCompanion(reference: KtReference): Boolean { if (reference !is KtSimpleNameReference) { return false } val bindingContext = analysisContext.analyze(reference.element, Fe10AnalysisFacade.AnalysisMode.PARTIAL)
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Fri Jun 30 13:43:30 GMT 2023 - 1.9K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescEnumEntrySymbolPointer.kt
?.unsubstitutedMemberScope ?.getContributedClassifier(entryName, NoLookupLocation.FROM_IDE) if (entryDescriptor is ClassDescriptor && entryDescriptor.kind == ClassKind.ENUM_ENTRY) { return KtFe10DescEnumEntrySymbol(entryDescriptor, analysisContext) } return null }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Jan 02 20:00:49 GMT 2023 - 2.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirPropertyDelegationMethodsReference.kt
check(this is KtFirAnalysisSession) val property = (expression.parent as? KtElement)?.getOrBuildFirSafe<FirProperty>(firResolveSession) ?: return emptyList() if (property.delegate == null) return emptyList() val getValueSymbol = (property.getter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
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) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescFunctionLikeSymbolPointer.kt
check(analysisSession is KtFe10AnalysisSession) val analysisContext = analysisSession.analysisContext val className = callableId.className val memberScope = if (className != null) { val outerClassId = ClassId(callableId.packageName, className, isLocal = false) analysisContext.resolveSession.moduleDescriptor.findClassAcrossModuleDependencies(outerClassId)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Sep 21 12:40:44 GMT 2023 - 2.7K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiDestructuringDeclarationSymbol.kt
throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(SpecialNames.DESTRUCT.asString()) } override fun equals(other: Any?): Boolean { if (this === other) return true return other is KtFe10PsiDestructuringDeclarationSymbol && other.psi == this.psi } override fun hashCode(): Int = psi.hashCode()
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:46 GMT 2024 - 2.9K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiAnonymousFunctionSymbol.kt
descriptor?.returnType?.toKtType(analysisContext) ?: createErrorType() } override val receiverParameter: KtReceiverParameterSymbol? get() = withValidityAssertion { if (!psi.isExtensionDeclaration()) { return null } return descriptor?.extensionReceiverParameter?.toKtReceiverParameterSymbol(analysisContext) }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:46 GMT 2024 - 3.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt
// Handle callable declarations with explicit return type first if (declaration is KtCallableDeclaration) { val typeReference = declaration.typeReference if (typeReference != null) { val bindingContext = analysisContext.analyze(typeReference, AnalysisMode.PARTIAL) val kotlinType = if (declaration is KtParameter && declaration.isVarArg) {
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Tue Oct 24 20:59:56 GMT 2023 - 15.5K bytes - Viewed (0)