|
|
Re: how to construct a uml property in the LET expression [message #537190 is a reply to message #537120] |
Tue, 01 June 2010 15:05 |
wafaa Messages: 163 Registered: January 2010 Location: Egypt |
Senior Member |
|
|
thank you , but can you explain how to use the lazy rule
i have seen examples and I do not know what is the role of element e in the called rule,
it is the only example i found about lazy rule from the use cases of atl
rule BlkA2BlkB {
from
blkA : TypeA!BlockA
to
blkB : TypeB!BlockB (
inputPorts <- blkA.inputPorts->
collect(e | thisModule.PortA2InPortB(e)),
outputPorts <- blkA.outputPorts->
collect(e | thisModule.PortA2OutPortB(e))
)
}
lazy rule PortA2InPortB {
from
s : TypeA!PortA
to
t : TypeB!InPortB (
name <- s.name
)
}
is that mean the e is put in the from section of the called rule
[Updated on: Tue, 01 June 2010 15:06] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04887 seconds