- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 167 for Module (0.09 sec)
-
analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/duplicatedCallableWithImplicitType.kt
// MODULE: lib1 // FILE: dependency.kt package usage fun implicitType() = 1 // MODULE: dep(lib1) // FILE: annotation.kt package usage fun implicitTypeFromAnotherModule() = implicitType() // MODULE: lib2 // FILE: dependency.kt package usage fun implicitType() = "str" // MODULE: main(lib2, dep) // FILE: usage.kt package usage fun usage(): Int = run { implicitType()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Mar 18 21:14:36 UTC 2024 - 414 bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/analyze.kt
import org.jetbrains.kotlin.psi.KtElement /** * Executes the given [action] in a [KaSession] context. * * The project will be analyzed from the perspective of [useSiteKtElement]'s module, also called the use-site module. * * @see KaSession */ public inline fun <R> analyze( useSiteKtElement: KtElement, action: KaSession.() -> R ): R = KaSessionProvider.getInstance(useSiteKtElement.project)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:22:24 UTC 2024 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/builder/KtModuleProviderBuilder.kt
public val kotlinCoreProjectEnvironment: KotlinCoreProjectEnvironment, ) { private val mainModules: MutableList<KtModule> = mutableListOf() public fun <M : KtModule> addModule(module: M): M { mainModules.add(module) return module } public lateinit var platform: TargetPlatform public fun build(): KtStaticProjectStructureProvider { return KtStandaloneProjectStructureProvider(
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jan 05 16:04:14 UTC 2024 - 1.7K bytes - Viewed (0) -
analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtStandaloneProjectStructureProvider.kt
.withPsiAttachment("containingFile", containingFile) .withAttachment("contextualModule", contextualModule?.asDebugString()) } return allKtModules.firstOrNull { module -> virtualFile in module.contentScope } ?: throw KotlinExceptionWithAttachments("Cannot find a KtModule for the VirtualFile") .withPsiAttachment("containingFile", containingFile)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Apr 10 16:23:23 UTC 2024 - 3.8K bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/internalUsage.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Apr 16 19:18:28 UTC 2024 - 189 bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/extensionReceiverProperty.kt
// MODULE: context // FILE: context.kt fun test() { 1.ext } val Int.ext: String get() { <caret_context>return "foo" } // MODULE: main // MODULE_KIND: CodeFragment // CONTEXT_MODULE: context // FILE: fragment.kt // CODE_FRAGMENT_KIND: EXPRESSION
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 275 bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/defaultParameterValue.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Apr 16 19:18:28 UTC 2024 - 202 bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionParameterClosure.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 290 bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/localFunctionContainingClassClosure.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 331 bytes - Viewed (0) -
analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/outerClassMutatedPrivate.kt
// MODULE: context // FILE: context.kt class Test { private var a: String = "foo" fun test() { <caret_context>val x = 0 } } // MODULE: main // MODULE_KIND: CodeFragment // CONTEXT_MODULE: context // FILE: fragment.kt // CODE_FRAGMENT_KIND: EXPRESSION @Suppress("INVISIBLE_SETTER")
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jan 30 11:41:26 UTC 2024 - 315 bytes - Viewed (0)