Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL parsing without a model?
OCL parsing without a model? [message #989372] Wed, 05 December 2012 21:50 Go to next message
Hector Chavez is currently offline Hector ChavezFriend
Messages: 34
Registered: February 2010
Member
Is it possible to use the MDT/OCL parser without any associated model? I'm only interested in the resulting AST, I and don't need to evaluate the expression. All the examples I have seen so far require a context.

Thanks for your help.

--
Hector

Re: OCL parsing without a model? [message #989377 is a reply to message #989372] Wed, 05 December 2012 22:11 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

With the Ecore-based OCL, you can use a dummy model with just a useless
class, or

with the Pivot-based OCL, you can use a null context.

Regards

Ed Willink



On 05/12/2012 21:50, Hector Chavez wrote:
> Is it possible to use the MDT/OCL parser without any associated model?
> I'm only interested in the resulting AST, I and don't need to evaluate
> the expression. All the examples I have seen so far require a context.
>
> Thanks for your help.
>
> --
> Hector
>
>
Previous Topic:OCLinEcore : PermGen space error
Next Topic:extending OCL MDT with "just" a temporal operator always
Goto Forum:
  


Current Time: Tue Apr 16 08:08:46 GMT 2024

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

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

Back to the top