|
|
|
|
|
Re: [QVTo] Transform an object by a condition. [message #1719493 is a reply to message #1718451] |
Fri, 08 January 2016 05:52  |
Eclipse User |
|
|
|
Hi
I'll try again too: https://wiki.eclipse.org/OCL/ForumNetiquette
On 23/12/2015 22:25, Gonzalo Bressan Zuber wrote:
> Sorry if I did not express well.
>
> I'll try again:
>
> In this case, i'm working in a following mapping of the transformation
>
> mapping java::InfixExpression::ie2ie() : java::InfixExpression {
> operator := self.operator;
> comments := self.comments -> com2com();
> originalCompilationUnit := self.originalCompilationUnit.map cu2cu();
> originalClassFile := self.originalClassFile.map cf2cf();
> rightOperand := self.rightOperand.map ex2ex();
> leftOperand := self.leftOperand.map ex2ex();
> extendedOperands := self.extendedOperands -> ex2ex();
> }
>
> I need to transform the object "operator" belonging to ie2ie mapping
> if exists a comment equal to "//mutate" in the java program in the
> same line that an infix expression.
>
> You understande me now?
>
> Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.24187 seconds