//arrow-meta/arrow.meta.internal.registry/InternalRegistry

InternalRegistry

interface InternalRegistry : ConfigSyntax

Inheritors

 
Meta

Types

Name Summary
DelegatingContributor [jvm]
class DelegatingContributor(val phase: StorageComponentContainer, val ctx: CompilerContext) : StorageComponentContainerContributor

Functions

Name Summary
callChecker [jvm]
open fun callChecker(check: CompilerContext.(resolvedCall: ResolvedCall<*>, reportOn: PsiElement, context: CallCheckerContext) -> Unit): StorageComponentContainer
compilerContextService [jvm]
open fun compilerContextService(): StorageComponentContainer
declarationChecker [jvm]
open fun declarationChecker(check: CompilerContext.(declaration: KtDeclaration, descriptor: DeclarationDescriptor, context: DeclarationCheckerContext) -> Unit): StorageComponentContainer
enableIr [jvm]
open fun enableIr(): ExtensionPhase
The enableIr function enables the Intermediate Representation Backend. The IR Backend is a part of the code generation phase and emits code in the IR format. The IR Format is a tree structure with significant indentation that contains all the information needed to generate bytecode for all platforms the Kotlin programming language targets. When the IR backend is disabled, which is the current default in the Kotlin Compiler, the JVM ASM Backend is used instead.
intercept [jvm]
abstract fun intercept(ctx: CompilerContext): List<CliPlugin>
meta [jvm]
open fun meta(vararg phases: ExtensionPhase): List<ExtensionPhase>
packageFragmentProvider [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.packageFragmentProvider(phase: PackageProvider, ctx: CompilerContext)
registerAnalysisHandler [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerAnalysisHandler(phase: AnalysisHandler, ctx: CompilerContext)
registerClassBuilder [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerClassBuilder(phase: ClassBuilder, ctx: CompilerContext)
registerClassGenerator [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerClassGenerator(phase: ClassGeneration, ctx: CompilerContext)
registerCodegen [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerCodegen(phase: Codegen, ctx: CompilerContext)
registerCollectAdditionalSources [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerCollectAdditionalSources(phase: CollectAdditionalSources, ctx: CompilerContext)
registerCompilerConfiguration [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerCompilerConfiguration(phase: Config, ctx: CompilerContext)
registerDeclarationAttributeAlterer [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerDeclarationAttributeAlterer(phase: DeclarationAttributeAlterer, ctx: CompilerContext)
registerExtraImports [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerExtraImports(phase: ExtraImports, ctx: CompilerContext)
registerIRGeneration [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerIRGeneration(phase: IRGeneration, compilerContext: CompilerContext)
registerMetaAnalyzer [jvm]
open fun registerMetaAnalyzer(): ExtensionPhase
registerMetaComponents [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerMetaComponents(configuration: CompilerConfiguration, context: CompilerContext? = null)
registerPreprocessedVirtualFileFactory [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerPreprocessedVirtualFileFactory(phase: PreprocessedVirtualFileFactory, ctx: CompilerContext)
registerProjectComponents [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerProjectComponents(project: MockProject, configuration: CompilerConfiguration)
registerStorageComponentContainer [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerStorageComponentContainer(phase: StorageComponentContainer, ctx: CompilerContext)
registerSyntheticResolver [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerSyntheticResolver(phase: SyntheticResolver, compilerContext: CompilerContext)
registerSyntheticScopeProvider [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerSyntheticScopeProvider(phase: SyntheticScopeProvider, ctx: CompilerContext)
registerSyntheticScopeProviderIfNeeded [jvm]
open fun CompilerPluginRegistrar.ExtensionStorage.registerSyntheticScopeProviderIfNeeded()
storageComponent [jvm]
open fun storageComponent(registerModuleComponents: CompilerContext.(container: StorageComponentContainer, moduleDescriptor: ModuleDescriptor) -> Unit, check: CompilerContext.(declaration: KtDeclaration, descriptor: DeclarationDescriptor, context: DeclarationCheckerContext) -> Unit = Noop.effect4): StorageComponentContainer
The storageComponent function allows access to the StorageComponentContributor. This is the Dependency Injector and service registry the compiler uses in all phases. In this function, you can register new services or modify existing ones before the container is composed and sealed prior to compilation.
updateConfig [jvm]
open fun updateConfig(updateConfiguration: CompilerContext.(configuration: CompilerConfiguration) -> Unit): Config
The updateConfig function provides access to the CompilerConfiguration that contains the map of properties used to enable/disable the different features in compilation.

Do you like Arrow?

Arrow Org
<