Ocl grammar use [message #753871] |
Sat, 29 October 2011 17:40 |
chuck Messages: 160 Registered: July 2010 |
Senior Member |
|
|
Hi ...finally integrated plugin of essentialOcl grammar but i didnt understandhow to use it... I mean... if would use estructuralfeature of ecore and write some ocl constraint on it... for example
self.references->select(e|e...) and so on... where self is my structural feature and references a 0..* reference to something... i tried to use :
Specification returns essentialocl::ExpSpecificationCS:
exprString=UNQUOTED_STRING ';'
;
terminal UNQUOTED_STRING: // Never forward parsed; just provides a placeholder
'£$%^£$%^' // for reverse serialisation of embedded OCL
;
as in oclinecore project but when I type self i can't continue to write the expression...
thx again
|
|
|
Powered by
FUDForum. Page generated in 0.03546 seconds