Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL Parsing order matters! Is there a solution?(About OCL Parser 1.2.3)
OCL Parsing order matters! Is there a solution? [message #491082] Tue, 13 October 2009 08:03 Go to next message
Skander TURKI is currently offline Skander TURKIFriend
Messages: 130
Registered: July 2009
Senior Member
Hi,
I have several files to parse and then to check on a UML model, but i found out that the parsing order matters, in fact, when a method calls another one that is not yet parsed, an error occurs (OCL 1.2.3).
Does anybody know about a solution to this problem?
Thanks
Re: OCL Parsing order matters! Is there a solution? [message #491327 is a reply to message #491082] Wed, 14 October 2009 07:36 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Skander

The OCL specification does not define whether forward references work;
indeed it doesn't actually define whether backward references work either.

MDT/OCL 1.x does not support forward references.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=187679 suggests
implementing forward references and raising a corresponding OMG
Issue to make the specification clear.

For now, you must avoid forward references.

Regards

Ed Willink


Skander wrote:
> Hi,
> I have several files to parse and then to check on a UML model, but i
> found out that the parsing order matters, in fact, when a method calls
> another one that is not yet parsed, an error occurs (OCL 1.2.3). Does
> anybody know about a solution to this problem?
> Thanks
Re: OCL Parsing order matters! Is there a solution? [message #491344 is a reply to message #491082] Wed, 14 October 2009 08:42 Go to previous message
Skander TURKI is currently offline Skander TURKIFriend
Messages: 130
Registered: July 2009
Senior Member
thanks for your clear answer.
Previous Topic:OCL 2.1 Spec available?
Next Topic:OCL in Transition's Guard to access trigger properties
Goto Forum:
  


Current Time: Tue Apr 16 10:03:56 GMT 2024

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

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

Back to the top