Evrything is in the title : I have an OCL AST (with as root an org.eclipse.ocl.ecore.Constraint) which I have modified. I would like to parse it again, but I only find the "one-line OCL grammar" that you get when printing a constraint (or any OCL thing) - provided in their toString() method.
Anybody knows a way to get a final parseable OCL string from an EMF OCL Constraint ? (or from any TypedElement) (or from any OCLExpression or ExpressionInOCL) ??
Thanks ! Edouard