Back to Compose Multiplatform

ReadMe

compiler/ir/ir.tree/tree-generator/ReadMe.md

2.3.20551 B
Original Source

Generates the interfaces and classes of IR elements, as well as visitors and transformers.

This is done to ensure all implementations are consistent, while avoiding to write boilerplate code manually.

The generator is run on every build, such as when running ./gradlew :dist. If you change anything in the model, generator, or the generator code and want to see the result immediately, you may also run ./gradlew :compiler:ir.tree:generateTree.

The actual model of IR is declared in IrTree.kt.