Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Problem with nested multirules

Hi Petter,

I assume you mean by "map" to create an edge between the LHS and the node. This is just a missing functionality of the editor. Creating links between nodes with different actions is only partially implemented (especially for nested multi-rules). 

There is an easy way to get around this though. Set the action of the Node to <<create*/rules>>. Then create the edge (should work now). And then change the action back to <<create*/rules/nodes>>.

Hope this helps.

Cheers,
Christian


2013/6/11 Petter Barvik <petter.barvik@xxxxxxxxx>
Hello,

I have some problems with the amalgamation unit, more precisely, nesting multirules.

So i have a kernel rule, and for this kernel rule, i have a multirule /rule, that goes through a list of Productions. And for each production i create a Rule and the corresponding Lhs and Rhs for this Rule. 

And for each Production, i have another multirule, /nodes, where i go through a list of "leftNodes". For each node i have in this list of nodes, i want to create a new Henshin Node in the left hand side of the HenshinRule. But for some reason, i cannot map this new node to the LHS of the Graph with 

"create*/rules/nodes"

I cant neither do this in the Graphical Editor or in the Tree Editor.

Thank you in advance,
Petter


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev



Back to the top