Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Empty Stack Exception
[ATL] Empty Stack Exception [message #9027] Thu, 18 January 2007 07:15
Eclipse UserFriend
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
Previous Topic:[ATL] Language Reference
Next Topic:Other M2M Components
Goto Forum:
  


Current Time: Fri Mar 29 10:50:25 GMT 2024

Powered by FUDForum. Page generated in 0.06443 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top