[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [henshin-dev] How to match attribute against a list?
|
Hi Jens,
I did not have a chance to look at the code yet, but I suspect that this
has simply not been implemented in the interpreter yet. The interpreter
should parse the [..,..,..] pattern and create an EList from it. Then
this EList should be used for matching. We will fix this soon. I keep
you posted.
Cheers,
Christian
Am 1/7/2013 3:36 PM, schrieb Jens Bürger:
Hi all,
I'm trying to do a match against a UML stereotype which has a list of
tagged values. The code in the model looks like this:
<UMLsec:critical xmi:id="_RJ0WAFjVEeK8IoC9UTTN-w"
base_Class="_C8unwEz5EeKnfpvaNBteGQ"
base_Classifier="_C8unwEz5EeKnfpvaNBteGQ">
<high>random()</high>
</UMLsec:critical>
The Properties tab of the Henshin Transformation Preview shows me:
high : EString [random()]
But if I enter
"[random()]"
as value into the transformation model, it doesn't match.
Any suggestions?
Thanks in advance,
Jens
_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev