Re: OCL concrete to abstract syntax question



Date view Thread view Subject view Author view Attachment view

From: Stefan Haustein (haustein@kimo.cs.uni-dortmund.de)
Date: Wed 14 Jan 2004 - 18:19:03 GMT


> I'm currently examining the OCL metamodel, and I'm wondering about how the OCL 
> concrete syntax maps to the abstract syntax of the metamodel.
> For example, how is the set->collect (expr) "stored" in the metamodel? Looking 
> at the diagram of the expressions package in the submission doc, I noticed 
> that there's no such thing as a "collect expression", but only "IterateExp", 

Hi Hans,

there is also the "Iterat_or_Exp" , with associations to a body expression (your 
expr), the source (your set) and a name attribute ("collect").

See Page 3-9 of ad/2003-01-07.

Best,

Stefan

Date view Thread view Subject view Author view Attachment view