- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Position (0.17 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt
val context = ContextCollector.process(firFile, sessionHolder, position) ?: errorWithAttachment("Cannot find context for ${position::class}") { withPsiEntry("position", position) } return context.towerDataContext.implicitReceiverStack.map { it.type.asKtType() } } override fun getDirectSuperTypes(type: KtType, shouldApproximate: Boolean): List<KtType> {
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/KtFe10TypeProvider.kt
} override fun getImplicitReceiverTypesAtPosition(position: KtElement): List<KtType> { val elementToAnalyze = position.containingNonLocalDeclaration() ?: position val bindingContext = analysisContext.analyze(elementToAnalyze) val lexicalScope = position.getResolutionScope(bindingContext) ?: return emptyList()
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/KtFirScopeProvider.kt
override fun getScopeContextForPosition( originalFile: KtFile, positionInFakeFile: KtElement ): KtScopeContext { val fakeFile = positionInFakeFile.containingKtFile // If the position is in KDoc, we want to pass the owning declaration to the ContextCollector. // That way, the resulting scope will contain all the nested declarations which can be references by KDoc.
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 18.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
fir: FirResolvable, expression: KtSimpleNameExpression, session: FirSession, symbolBuilder: KtSymbolByFirBuilder ): Collection<KtSymbol> { // If the cursor position is on the label of `super`, we want to resolve to the current class. FIR represents `super` as // accessing the `super` property on `this`, hence this weird looking if condition. In addition, the current class type is available
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)