arrow.meta.phases.resolve.DeclarationAttributeAlterer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arrow-meta Show documentation
Show all versions of arrow-meta Show documentation
Functional companion to Kotlin's Standard Library
package arrow.meta.phases.resolve
import arrow.meta.phases.CompilerContext
import arrow.meta.phases.ExtensionPhase
import org.jetbrains.kotlin.descriptors.DeclarationDescriptor
import org.jetbrains.kotlin.descriptors.Modality
import org.jetbrains.kotlin.psi.KtModifierListOwner
/**
* @see [ExtensionPhase]
* @see [arrow.meta.dsl.resolve.ResolveSyntax.declarationAttributeAlterer]
*/
interface DeclarationAttributeAlterer : ExtensionPhase {
fun CompilerContext.refineDeclarationModality(
modifierListOwner: KtModifierListOwner,
declaration: DeclarationDescriptor?,
containingDeclaration: DeclarationDescriptor?,
currentModality: Modality,
isImplicitModality: Boolean
): Modality?
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy