Package arrow. meta. phases
Types
Compiler Context
Link copied to clipboard
open class CompilerContext(configuration: CompilerConfiguration?, project: Project, messageCollector: MessageCollector?, ktPsiElementFactory: KtPsiFactory, eval: (String) -> Any?)
Content copied to clipboard
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
Extension Phase
Link copied to clipboard
An ExtensionPhase represents a subscription to one of the Kotlin compiler phases.
Functions
evaluate Depends On
Link copied to clipboard
fun <T> CompilerContext.evaluateDependsOn(noRewindablePhase: () -> T?, rewindablePhase: (Boolean) -> T?): T?
Content copied to clipboard
evaluate Depends On Rewindable Analysis Phase
Link copied to clipboard
fun <T> CompilerContext.evaluateDependsOnRewindableAnalysisPhase(evaluation: () -> T?): T?
Content copied to clipboard
find In Analysed Descriptors
Link copied to clipboard
inline fun <D : DeclarationDescriptor> KtElement.findInAnalysedDescriptors(compilerContext: CompilerContext): D?
Content copied to clipboard