Juan Cadavid Messages: 46 Registered: July 2009 Location: Rennes, France
I have been using for some time Eclipse OCL for my research on the conjunct usage of Ecore and OCL, reason for which I have always used the old Ecore binding with generics to build my prototypes; but I've decided it's finally time to migrate the code to using the pivot metamodel. I have been able to decipher some of the differences by looking at the pivot code. There is however one thing I haven't been able to find; how to parse entire .ocl documents. In the old OCL, there was this method taking the OCL document as parameter and then returning the list of constraints:
public List<CT> parse(OCLInput input)
which I can't find now in the OCL pivot plugin. Has this been implemented already? Is there another way to accomplish parsing an entire document?