[ATL] Empty Stack Exception [message #9027] |
Thu, 18 January 2007 02:15 |
Eclipse User |
|
|
|
Originally posted by: irbull.cs.uvic.ca
I have a very simple transformation (that does nothing at all):
-- @atlcompiler atl2006
module TestTransform; -- Module Template
create output : metamodel from My : ecore;
rule Example {
from s : ecore!EObject
to t : metamodel!Node (
name <- s.toString()
)
do {
t.edges <- thisModule.getCross(s);
}
}
rule getCross (s : ecore!EObject) {
to rel: metamodel!Relationship (
)
}
but when I use the called rule I get an empty stack exception.
Is this the proper way to use a called rule?
Do lazy rules still exist (I didn't see them in the ATL User Manual)?
What is the difference between a lazy rule and a called rule?
cheers,
ian
|
|
|
Powered by
FUDForum. Page generated in 0.04095 seconds