[MOFScript] _getFeature problem [message #375962] |
Wed, 21 February 2007 03:02  |
Eclipse User |
|
|
|
Originally posted by: angel.calvo.centic.es
Hello, I've tried use the operation _getFeature to access to a List
element of my metamodel in the context of a rule. But I get a lot of
parse errors. Is it a problem with MOFScript parser or the code is wrong?
m._getFeature("List")::genParagraphElement(nivel:Integer) {
...
}
Thanks.
|
|
|
Re: [MOFScript] _getFeature problem [message #375965 is a reply to message #375962] |
Wed, 21 February 2007 09:54  |
Eclipse User |
|
|
|
Hi,
Unfortunately this is a problem with the parser, the _getFeature() can only
be used inside a body of a rule and not as context.
We will place it on the todo list, it should be possible to write
m.List::genParagraphElement().
Regards,
G
|
|
|
Re: [MOFScript] _getFeature problem [message #571495 is a reply to message #375962] |
Wed, 21 February 2007 09:54  |
Eclipse User |
|
|
|
Hi,
Unfortunately this is a problem with the parser, the _getFeature() can only
be used inside a body of a rule and not as context.
We will place it on the todo list, it should be possible to write
m.List::genParagraphElement().
Regards,
G
|
|
|
Powered by
FUDForum. Page generated in 0.02928 seconds