- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for works (0.19 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
goToNthParent(symbol, goBackSteps)?.let { return it } } return getPackageSymbolIfPackageExists(selectedFqName) } /** * N.B. Works only for [KtClassOrObjectSymbol] parents chain. */ private fun KtAnalysisSession.goToNthParent(symbol: KtDeclarationSymbol, steps: Int): KtDeclarationSymbol? { var currentSymbol = symbol
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
is KtDotQualifiedExpression -> receiverExpression is KtThisExpression -> labelQualifier else -> error("Unexpected ${this::class}") } /** * N.B. We don't use [containingClassOrObject] because it works only for [KtDeclaration]s, * and also check only the immediate (direct) parent. * * For this function, we want to find the parent [KtClassOrObject] declaration no matter * how far it is from the element. */
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/CliFe10AnalysisFacade.kt
) { // there is no way to properly map KtModule to ModuleDescriptor, // Multi-module [KtFe10AnalysisHandlerExtension]s are used only for tests, // so just by name comparison should work as all module names are different return null } resolveSession = componentProvider.get() deprecationResolver = componentProvider.get()
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Fri Jan 26 16:20:19 GMT 2024 - 7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSession.kt
} val shadowedScope = GlobalSearchScope.union( buildSet { // Add an empty scope to the shadowed set to give GlobalSearchScope.union something // to work with if there are no extension tools. // If there are extension tools, any empty scopes, whether from shadowedSearchScope // on the extension tools or from this add() call, will be ignored.
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 18 10:43:08 GMT 2024 - 9.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
* Note that, if the calleeExpression is already a KtCallExpression, then we don't do this because such a callExpression can be properly * resolved to the desired FIR element. That is, cases like `getHighLevelFunction()()` just works, where the both `KtCallExpression` * resolve to the desired FIR element. */ private fun KtElement.getContainingCallExpressionForCalleeExpression(): KtCallExpression? {
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/references/FirReferenceResolveHelper.kt
if (receiverExpression !is KtDotQualifiedExpression) { // If the receiver is not a KtDotQualifiedExpression, it means we are hitting the end of nested receivers. In other // words, this receiver expression should be pointing at an unqualified name of a class, whose class ID is // `outerClassId`. if (receiverExpression == expression) {
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/scopes/DeclarationsInPackageProvider.kt
* * Since this fallback is not suitable for symbols from binary libraries in Standalone mode, the symbol names provider absolutely needs to * work there. This functionality is covered by package scope tests. */ @OptIn(ExperimentalTopLevelDeclarationsGenerationApi::class) internal object DeclarationsInPackageProvider {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Apr 23 10:55:55 GMT 2024 - 5.4K bytes - Viewed (0) -
ReadMe.md
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Apr 11 14:28:46 GMT 2024 - 8.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
other: FirLiteralExpression<*> ): FirLiteralExpression<*>? { if (value == null || other.value == null) return null // NB: some utils accept very general types, and due to the way operation map works, we should up-cast rhs type. val rightType = when { function.symbol.callableId.isStringEquals -> CompileTimeType.ANY function.symbol.callableId.isStringPlus -> CompileTimeType.ANY
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 20 14:53:27 GMT 2024 - 16.5K bytes - Viewed (0) -
ChangeLog.md
- [`KT-57966`](https://youtrack.jetbrains.com/issue/KT-57966) K2: Analysis API: Reference Shortener does not work correctly when called on entire file - [`KT-60954`](https://youtrack.jetbrains.com/issue/KT-60954) K2: Analysis API: Reference shortener does not work correctly with variable assignments
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)