- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for element (0.19 sec)
-
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
if (parent.referenceExpression !== this) return true parent = parent.parent } return false } internal fun adjustResolutionExpression(expression: KtElement): KtElement { // If we are at a super-type constructor call, adjust the resolution expression so that we // get the constructor instead of the class. // // For the example: //
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/KtFirTypeProvider.kt
} } else -> throwUnexpectedFirElementError(fir, ktTypeReference) } } /** * Try to get fir element for type reference through symbols. * When the type is declared in compiled code this is faster than building FIR from decompiled text. */ private fun KtTypeReference.getFirBySymbols(): FirElement? {
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) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt
) } private fun handleAsFunctionCall(context: BindingContext, element: KtElement): KtCallInfo? { return element.getResolvedCall(context)?.let { handleAsFunctionCall(context, element, it) } } private fun handleAsFunctionCall( context: BindingContext, element: KtElement, resolvedCall: ResolvedCall<*>, diagnostics: Diagnostics = context.diagnostics
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Apr 29 12:48:54 GMT 2024 - 34.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
} }) file.accept(object : KtTreeVisitorVoid() { override fun visitElement(element: PsiElement) { super.visitElement(element) if (element is KDocLink) { visitKDocLink(element) } } private fun visitKDocLink(docLink: KDocLink) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 24.2K bytes - Viewed (0) -
ChangeLog.md
- [`KTIJ-24121`](https://youtrack.jetbrains.com/issue/KTIJ-24121) K2 IDE. "failed to convert element KtLightField" when trying to declare property after function that has return with type mismatch - [`KTIJ-25335`](https://youtrack.jetbrains.com/issue/KTIJ-25335) K2 IDE. "failed to convert element KtLightField:<no name provided>" on attempt to set property in class with constructor
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Dec 21 17:48:12 GMT 2023 - 268.7K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt
} add(FirErrors.ASSIGNING_SINGLE_ELEMENT_TO_VARARG_IN_NAMED_FORM_FUNCTION.errorFactory) { firDiagnostic -> AssigningSingleElementToVarargInNamedFormFunctionErrorImpl( firSymbolBuilder.typeBuilder.buildKtType(firDiagnostic.a), firDiagnostic as KtPsiDiagnostic, token, ) }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Apr 24 09:49:26 GMT 2024 - 208.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
import org.jetbrains.kotlin.descriptors.* import org.jetbrains.kotlin.name.StandardClassIds import org.jetbrains.kotlin.psi.KtCallElement import org.jetbrains.kotlin.psi.KtDoubleColonExpression import org.jetbrains.kotlin.psi.KtElement import org.jetbrains.kotlin.psi.KtTypeReference import org.jetbrains.kotlin.psi.psiUtil.getParentOfType import org.jetbrains.kotlin.resolve.BindingContext import org.jetbrains.kotlin.resolve.DescriptorUtils
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Jan 29 09:37:59 GMT 2024 - 23.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
// true, false -> {} // } // ``` // `false` does not have a corresponding elements on the FIR side and hence the containing `FirWhenBranch` is returned. // ``` // @Volatile // private var // ``` // Volatile does not have corresponding element, so `FirFileImpl` is returned val fir = expression.unwrap().getOrBuildFir(firResolveSession) ?: return null
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:13:17 GMT 2024 - 24.4K bytes - Viewed (0)