# `BB.Dsl.RobotTransformer`
[🔗](https://github.com/beam-bots/bb/blob/main/lib/bb/dsl/robot_transformer.ex#L5)

Builds and persists the optimised Robot struct at compile-time.

This transformer runs after the TopologyTransformer and UniquenessTransformer to
ensure the DSL is fully validated, then builds the optimised `BB.Robot`
struct and injects an accessor function into the robot module.

# `after_compile?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
