different condition levels in filter of the rule [message #1759001] |
Wed, 05 April 2017 07:35 |
Banafsheh Azizi Messages: 328 Registered: July 2016 |
Senior Member |
|
|
Hi,
How can I select if an element oclIsTypeOf(...)? when I use asSequence(),... it has an error.
To Clarify, In the below code I want to transform "AssignmentStatement" which its lhs.oclIsTypeOf(MM_ETL!PropertyCallExpression) and then set another conditions that is related to "lhs.oclIsTypeOf(MM_ETL!PropertyCallExpression)", How can I do that?
from
b : MM_ETL!AssignmentStatement
( OUT_MM!EClass.allInstancesFrom('IN3') -> ... ->select(t|t.name.name=[color=red]b.lhs.target.name[/color])->....
if I don't put the condition that I explain above, the selected code has an error.
Member of MDSE Research Group
http://mdse.ui.ac.ir
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04644 seconds