|creating operation parameters [message #1794783]
||Thu, 06 September 2018 12:51
| Siegfried Nolte
Registered: August 2009
Hi QVTo Community,|
I am transforming class operations form source class attributes (getter and setter). The getter should get a return type based on the type of the attribute, more concrete the type will be generated from the Attributes type and the ParameterDirectionKind should be "return".
ownedParameter += object Parameter
name := '';
type := self.type.getPrimitiveType (pt);
direction := ParameterDirectionKind::return;
The problem is:
The direction-assignment does not work. Token "return" is invalid.
Is it? What can I do instead?
This Problem concerns the direction kinds "in", "out", "inout", too.
I am working with Eclipse 4.7.3, QVTo SDK 3.7.0.
Thanks for help,
[Updated on: Thu, 06 September 2018 13:20]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02242 seconds