Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
MDT/OCL/MDT-OCL 3.0.0 Migration Guide
< MDT | OCL
Revision as of 15:51, 15 October 2009 by Ed.willink.me.uk (Talk | contribs) (New page: === Grammar changes === The Complete OCL grammar is defined by OCLParser.g, OCLLexer.g, OCLKWLexer.g. The Essential OCL grammar is now defined by EssentialOCL.g, EssentialOCLLexer.g, Ess...)
Grammar changes
The Complete OCL grammar is defined by OCLParser.g, OCLLexer.g, OCLKWLexer.g.
The Essential OCL grammar is now defined by EssentialOCL.g, EssentialOCLLexer.g, EssentialOCLKWLexer.g.
In MDT/OCL 1.3 EssentialOCL.g included a number of Complete OCL facilities such as reserved words, ^ and ^^ message operators and @pre suffixes. These are not present in MDT/OCL 3.0.0.
The MDT/OCL 3.0.0 grammar has been changed to align as closely as possible with the OMG OCL 2.1 concrete syntax and to provide the basis for a comprehensive grammar submitted for incorporation in a future OCL specification via resolution of Issues ...
This alignment causes the following changes.
MDT/OCL 1.3 production | MDT/OCL 3.0.0 production |
---|---|
OperationCallExpCS | operationCallExpCS |