//arrow-meta/arrow.meta.phases/CompilerContext

CompilerContext

[jvm]
open class CompilerContext(val configuration: CompilerConfiguration?, val messageCollector: MessageCollector? = null)

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.

Constructors

   
CompilerContext [jvm]
constructor(configuration: CompilerConfiguration?, messageCollector: MessageCollector? = null)

Functions

Name Summary
evaluateDependsOn [jvm]
fun <T> CompilerContext.evaluateDependsOn(noRewindablePhase: () -> T?, rewindablePhase: (Boolean) -> T?): T?
evaluateDependsOnRewindableAnalysisPhase [jvm]
fun <T> CompilerContext.evaluateDependsOnRewindableAnalysisPhase(evaluation: () -> T?): T?
get [jvm]
inline fun <T : Any> get(key: String): T?
set [jvm]
fun <T : Any> set(key: String, value: T)

Properties

Name Summary
analysedDescriptors [jvm]
val analysedDescriptors: MutableList<DeclarationDescriptor>
analysisPhaseCanBeRewind [jvm]
val analysisPhaseCanBeRewind: AtomicBoolean
analysisPhaseWasRewind [jvm]
val analysisPhaseWasRewind: AtomicBoolean
componentProvider [jvm]
var componentProvider: ComponentProvider?
configuration [jvm]
val configuration: CompilerConfiguration?
ctx [jvm]
val ctx: CompilerContext
messageCollector [jvm]
val messageCollector: MessageCollector? = null
module [jvm]
var module: ModuleDescriptor?

Do you like Arrow?

Arrow Org
<