Clone
Adam Murdoch
committed
on 05 Nov 15
Enable nested DSL rules for subjects of type `ModelMap`.
This is the first step of enabling the DSL for creating and configuring items in a … Show more
Enable nested DSL rules for subjects of type `ModelMap`.

This is the first step of enabling the DSL for creating and configuring items in a `ModelMap`. It is currently only supported for `name(Type) { ... }` and `name { ... }` syntax.

With this change, the closures in the syntax above are treated as rule actions, so that their input references are not treated as inputs for the outer closure but are instead treated as inputs of the nested rule. These actions are also given their own descriptor.

Show less

master + 512 more