You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To allow for the use of mutiple tokens within a query that are recognized separately something like "transient attributes" in templates would be useful.
For example:
template A
: ${a} = "#" template{as=identifier,
query=Template.allInstances()->select(name=${a} and mode=?)}
;
"a" is not a property of class A but is required in the query. The above example syntax could be used to define an extra token "a" in the template for which the parse rule "identifier" is called. The value of "a" could then be used in the query to resolve a model element for "template".
The text was updated successfully, but these errors were encountered:
To allow for the use of mutiple tokens within a query that are recognized separately something like "transient attributes" in templates would be useful.
For example:
template A
: ${a} = "#" template{as=identifier,
query=Template.allInstances()->select(name=${a} and mode=?)}
;
"a" is not a property of class A but is required in the query. The above example syntax could be used to define an extra token "a" in the template for which the parse rule "identifier" is called. The value of "a" could then be used in the query to resolve a model element for "template".
The text was updated successfully, but these errors were encountered: