|
Re: Cannot call a CalledRule on a Seqeunce() [message #43508 is a reply to message #43448] |
Thu, 31 May 2007 14:57 |
Eclipse User |
|
|
|
Originally posted by: tristan.faure.c-s.fr
hi
I'm not a specialist but there is some points strange
Why do you have 2 parameters in you called rule when you call it ?
if you use a call rule I think you have to use a rule of this kind :
rule
to b : MMb!B (
truc <- a.refs->collect( e | thisModule.myCalledRule( e, a ) )
)
do {
b ;
}
or maybe you want to use a lazy rule and in that case you have to do
lazy rule
|
|
|
Re: Cannot call a CalledRule on a Seqeunce() [message #43539 is a reply to message #43448] |
Thu, 31 May 2007 14:59 |
Eclipse User |
|
|
|
Originally posted by: tristan.faure.c-s.fr
sorry for the double post . . . :(
hi
I'm not a specialist but there is some points strange
Why do you have 2 parameters in you called rule when you call it ?
if you use a call rule I think you have to use a rule of this kind :
rule
to b : MMb!B (
truc <- a.refs->collect( e | thisModule.myCalledRule( e, a ) )
)
do {
b ;
}
or maybe you want to use a lazy rule ? and in that case you have to do
lazy rule
from
....
to
...
|
|
|
|
Powered by
FUDForum. Page generated in 0.03200 seconds