arrow-meta / arrow.meta.phases.codegen.ir / IrUtils

IrUtils

class IrUtils : ReferenceSymbolTable, IrTypeSystemContext, IrFactory

Constructors

<init> IrUtils(pluginContext: IrPluginContext, compilerContext: CompilerContext, moduleFragment: IrModuleFragment)

Properties

compilerContext val compilerContext: CompilerContext
moduleFragment val moduleFragment: IrModuleFragment
pluginContext val pluginContext: IrPluginContext
typeTranslator val typeTranslator: TypeTranslator

Functions

interpret fun IrModuleFragment.interpret(expression: IrExpression): IrExpression
interpretFunction fun interpretFunction(originalCall: IrCall, typeName: Name, value: IrConst<*>): IrExpression
irCall fun CallableDescriptor.irCall(): IrExpression
irConstructorCall fun ClassDescriptor.irConstructorCall(): IrConstructorCall?
irGetterCall fun PropertyDescriptor.irGetterCall(): IrCall?
substitutedIrTypes fun CallableDescriptor.substitutedIrTypes(typeSubstitutor: NewTypeSubstitutorByConstructorMap): List<IrType?>
toIrType fun KotlinType.toIrType(): IrType
transform fun <A> IrFunction.transform(data: A, f: IrFunction.(a: A) -> Unit = Noop.effect2): IrStatement

Do you like Arrow?

Arrow Org
<