MishkaChelekom.Kit.Transformers.Generate (Mishka Chelekom v0.0.9-beta.3)

Copy Markdown View Source

Generates each customize's wrapper function from its rules, injected into the Kit module via Spark.Dsl.Transformer.eval/3. The rules decide the target: part rules ⇒ a headless component (<Web>.Components.Headless.<From>), otherwise styled (<Web>.Components.<From>). The wrapper transforms assigns through MishkaChelekom.Kit.Runtime and delegates to the real component.

Summary

Functions

after?(_)

Callback implementation for Spark.Dsl.Transformer.after?/1.

after_compile?()

Callback implementation for Spark.Dsl.Transformer.after_compile?/0.

before?(_)

Callback implementation for Spark.Dsl.Transformer.before?/1.