| [EPL] Execution semantics [message #1387059] |
Mon, 23 June 2014 15:41  |
Eclipse User |
|
|
|
Hi,
I have started using EPL to write some in-place modifications for an input model, which repeatedly change the model while there is a match for one of the pattern rules. I am facing a difficult time with one of the rules.
For one of the patterns, I am using 3 roles with guards and one with dynamic domain. After the onmatch part is executed I get an error saying that a property of an element (which has been deleted in the onmatch body) is not found. After debugging the program, it seems that after finishing the onmatch body, the execution goes back to the role part in one of the pattern roles. This tries to access a property of an already deleted element which gives the error. I don't know if this is a normal behavior or if I am doing something in a wrong way.
To my surprise, there are some other patterns with similar structure and behavior but they just work fine without errors!
Thanks in advance.
Abdu
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02914 seconds