Package arrow.meta.phases

Types

CompilerContext
Link copied to clipboard
open class CompilerContext(configuration: CompilerConfiguration?, project: Project, messageCollector: MessageCollector?, ktPsiElementFactory: KtPsiFactory, eval: (String) -> Any?)

The Compiler Context represents the environment received by all plugins. The Compiler Context will get more services as they become relevant overtime to the development of compiler plugins.

Composite
Link copied to clipboard
data class Composite(phases: List<ExtensionPhase>) : ExtensionPhase
ExtensionPhase
Link copied to clipboard
interface ExtensionPhase

An ExtensionPhase represents a subscription to one of the Kotlin compiler phases.

Functions

evaluateDependsOn
Link copied to clipboard
fun <T> CompilerContext.evaluateDependsOn(noRewindablePhase: () -> T?, rewindablePhase: (Boolean) -> T?): T?
fun <T> CompilerContext.evaluateDependsOnRewindableAnalysisPhase(evaluation: () -> T?): T?
findInAnalysedDescriptors
Link copied to clipboard
inline fun <D : DeclarationDescriptor> KtElement.findInAnalysedDescriptors(compilerContext: CompilerContext): D?