decided to add a very specific preprocessing here, to make the DSL notation more natural.
My guess is that most people won't spot the presence of this tiny bit of magic,
and it would be way more surprising to have rules like
UICoord::currentWindow().panel("viewer").create()
fail in most cases, simply because there is a wildcard on the perspective
and the panel viewer does not (yet) exist. In such a case, we now turn the
perspective into a "existential quantified" wildcard, which is treated as if
the actually existing element was written explicitly into the pattern.
|
||
|---|---|---|
| .. | ||
| cmd-context-test.cpp | ||
| ui-coord-resolver-test.cpp | ||
| ui-coord-test.cpp | ||
| ui-location-solver-test.cpp | ||
| view-spec-dsl-test.cpp | ||