compiler-plugin / arrow.meta.phases.analysis

Package arrow.meta.phases.analysis

Types

AnalysisHandler interface AnalysisHandler : ExtensionPhase
CollectAdditionalSources interface CollectAdditionalSources : ExtensionPhase
DefaultElementScope Default impl for element scopes based on the KtPsiFactoryclass DefaultElementScope : ElementScope
ElementScope interface ElementScope
Eq interface Eq<A>
ExtraImports interface ExtraImports : ExtensionPhase
MetaFileViewProvider Provides interception access to the internals of a VirtualFile allowing to replace its Documentclass MetaFileViewProvider : SingleRootFileViewProvider
PreprocessedVirtualFileFactory interface PreprocessedVirtualFileFactory : ExtensionPhase

Extensions for External Classes

org.jetbrains.kotlin.com.intellij.psi.PsiElement  
org.jetbrains.kotlin.psi.KtAnnotated  
org.jetbrains.kotlin.psi.KtElement  
org.jetbrains.kotlin.psi.KtExpression  
org.jetbrains.kotlin.psi.KtFunction  

Properties

resolveFunctionType resolves FunctionType to it’s returnTypeval resolveFunctionType: (KotlinType) -> KotlinType
returnTypeEq naive type equality where function types are reduced to their return typeval returnTypeEq: Eq<KotlinType>

Functions

intersect Given eq this function returns KotlinTypes that intersect with the returnType from the list in types. One concrete example for equality on TypeConstructor may look like this:fun <C : CallableDescriptor> C.intersect(eq: Eq<KotlinType>, types: KotlinBuiltIns.() -> List<KotlinType>): List<KotlinType>
given eq this function returns a List of KotlinType that are contained by both list and otherfun <D : DeclarationDescriptor> D.intersect(eq: Eq<KotlinType>, list: List<KotlinType>, other: KotlinBuiltIns.() -> List<KotlinType>): List<KotlinType>
resolveFunctionTypeEq defines Equality on types, where FunctionTypes are reduced to their return typefun resolveFunctionTypeEq(): Eq<KotlinType>
typeConstructorEq defines Equality on the type constructorfun typeConstructorEq(): Eq<KotlinType>

Do you like Arrow?

Arrow Org
<