Package arrow.meta.phases.codegen.ir

Types

IRGeneration
Link copied to clipboard
interface IRGeneration : ExtensionPhase
IrUtils
Link copied to clipboard
class IrUtils(pluginContext: IrPluginContext, compilerContext: CompilerContext, moduleFragment: IrModuleFragment) : ReferenceSymbolTable, IrTypeSystemContext, IrFactory

Functions

filterMap
Link copied to clipboard
inline fun <E, B> IrElement.filterMap(crossinline filter: (E) -> Boolean, crossinline map: (E) -> B): List<B>
getTypeSubstitutionMap
Link copied to clipboard
fun IrMemberAccessExpression<*>.getTypeSubstitutionMap(container: IrTypeParametersContainer): Map<IrTypeParameter, IrType>

Properties

allTypeParameters
Link copied to clipboard
val IrTypeParametersContainer.allTypeParameters: List<IrTypeParameter>
substitutedValueParameters
Link copied to clipboard
val IrCall.substitutedValueParameters: List<Pair<IrValueParameter, IrType?>>
typeArguments
Link copied to clipboard
val IrCall.typeArguments: List<Pair<Int, IrType?>>

returns the index and the type argument

typeSubstitutions
Link copied to clipboard
val IrMemberAccessExpression<*>.typeSubstitutions: Map<IrTypeParameter, IrType>
valueArguments
Link copied to clipboard
val IrCall.valueArguments: List<Pair<Int, IrExpression?>>

returns the index and the value argument