- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for itself (0.18 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt
token = token ) /** * Implicit dispatch receiver is present when an extension function declared in object * is imported somewhere else and used without directly referencing the object instance * itself: * * ```kt * import Foo.bar * * object Foo { fun String.bar() {} } * * fun usage() { * "hello".bar() // this call has implicit 'Foo' dispatch receiver * } * ``` */
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
private inline fun <reified T : KtElement> KtFile.findSmallestElementOfTypeContainingSelection(selection: TextRange): T? = findElementAt(selection.startOffset) ?.parentsOfType<T>(withSelf = true) ?.firstOrNull { selection in it.textRange } /** * How a symbol is imported. The order of the enum entry represents the priority of imports. If a symbol is available from multiple kinds of
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
val declaration = PsiTreeUtil.getContextOfType(contextElement, KtDeclaration::class.java, false) ?: return emptyList() for (ktDeclaration in declaration.parentsOfType<KtDeclaration>(withSelf = true)) { if (fqName.pathSegments().size == 1) { getSymbolsFromDeclaration(fqName.shortName(), ktDeclaration).ifNotEmpty { return this } }
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/KtFirCompilerFacility.kt
remove(file) } addAll(dependencyFiles) add(file) } // Files in the code fragment context module are compiled together with the code fragment itself. val targetModules = computeTargetModules(mainFirFile.llFirModuleData.ktModule) val (targetFiles, dependencyFiles) = filesToCompile.partition { firResolveSession.getModule(it) in targetModules }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 32.2K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
* * We cannot use [ClassId.getShortClassName] for this, since it is not affected by the alias. */ val referencedByName: Name /** * Must be `true` if the PSI qualifier is itself qualified with the package or some other type, and `false` otherwise. * * ``` * foo.bar.Baz -> true * Baz.Type -> true * Baz -> false * ``` */
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
} } firStatements.forEach(::addCandidate) } val parentDeclarations = anchor.parentsOfType<KtDeclaration>(withSelf = true) for (parentDeclaration in parentDeclarations) { val parentFirDeclaration = parentDeclaration.getOrBuildFir(firResolveSession) if (parentFirDeclaration is FirControlFlowGraphOwner) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Apr 16 06:40:43 GMT 2024 - 22.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
} getContainingDeclarationForDependentDeclaration(symbol)?.let { return it } if (symbolModule is KtDanglingFileModule && symbolModule.resolutionMode == DanglingFileResolutionMode.IGNORE_SELF) { if (hasParentPsi(symbol)) { // getSymbol(ClassId) returns a symbol from the original file, so here we avoid using it return getContainingDeclarationByPsi(symbol) }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 13.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
* find the containing binary expression and resolve that instead. * * However, if, say, `+=` resolves to `plusAssign`, then the LHS is self-contained. In this case we do not return the containing binary * expression so that the FIR element corresponding to the LHS is used directly. */
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/diagnostics/KtFirDataClassConverters.kt
firSymbolBuilder.buildSymbol(firDiagnostic.a), firDiagnostic.b, firDiagnostic as KtPsiDiagnostic, token, ) } add(FirErrors.SELF_CALL_IN_NESTED_OBJECT_CONSTRUCTOR_ERROR) { firDiagnostic -> SelfCallInNestedObjectConstructorErrorImpl( 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)