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

Expands `:*` wildcards in command `allowed_states` and `cancel` options.

This transformer:
- Expands `:*` in `allowed_states` to all defined states (including `:idle`, `:disarmed`)
- Expands `:*` in `cancel` to all defined categories (including `:default`)
- Runs after `StateTransformer` and `CategoryTransformer` so state/category lists are available

# `after_compile?`

---

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