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

IrUtils

class IrUtils : ReferenceSymbolTable, IrTypeSystemContext

Constructors

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

Properties

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

Functions

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
<