Package-level declarations

Types

Link copied to clipboard

The Analysis API over the running game: a standalone session whose one library module is the same widened classpath ReplHost compiles snippets against. Ask it what a name means; ReplHost is what runs it.

Link copied to clipboard
private class EditorFileModule(val snippet: KtFile, val contextModule: KaModule, val resolutionMode: KaDanglingFileResolutionMode) : KaModuleBase, KaDanglingFileModule

A dangling file module that holds its file outright.

Link copied to clipboard
private class TransactionOnlyPomModel : UserDataHolderBase, PomModel

The one service a core environment is missing before PSI can be written. Every mutation routes through ChangeUtil.prepareAndRunChangeActionPomManager.getModel(project).runTransaction(...), and a core project has none: the real PomModelImpl lives in platform/core-impl, which the embedded compiler does not carry, and nothing in the compiler registers one because the compiler only ever reads PSI.

Properties

Link copied to clipboard
private const val JAR_SEPARATOR: String

Jar-url separator: archive path before it, entry path after, so a trailing one asks for the archive's root. Inlined rather than read off URLUtil — two divergent copies of that class are on the classpath and only one declares the constant, so which node compiles decides whether the reference resolves.

Link copied to clipboard
private const val PLACEHOLDER: String

Spliced in at the caret so unfinished source parses. Any identifier real code would never write does the job; this is IntelliJ's own spelling, so whatever special-cases it still recognizes ours. Copied rather than referenced: CompletionUtilCore lives in the IDE's completion infrastructure, which neither the embedded compiler nor the Analysis API brings along.