From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,d2fdf39976bd1585 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-ID: <4460114.6asVHbpM1C@linux1.krischik.com> From: Martin Krischik Subject: Re: ANN: Ada source code decorator Newsgroups: comp.lang.ada Date: Sat, 27 May 2006 14:13:26 +0200 References: <447306ee$0$11066$9b4e6d93@newsread4.arcor-online.net> <4475d870@news.upm.es> <1148622876.114738.62910@i40g2000cwc.googlegroups.com> <4392612.ATc5MT7D57@linux1.krischik.com> <4478370b$0$4512$9b4e6d93@newsread2.arcor-online.net> User-Agent: KNode/0.10.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@hispeed.ch Organization: hispeed.ch NNTP-Posting-Host: 80.218.119.160 (80.218.119.160) NNTP-Posting-Date: Sat, 27 May 2006 14:30:02 +0200 X-Trace: 9ee714478464af57fd20527419 Xref: g2news2.google.com comp.lang.ada:4534 Date: 2006-05-27T14:13:26+02:00 List-Id: Georg Bauhaus wrote: > Martin Krischik wrote: > >> I think that this a full natural way of mapping Ada <-> UML - After all >> 'First and 'Last are called Attributes on both sides. And if you continue >> the way of stereotypes then you can map all Ada feature to UML. > > Is there a way to represent an access to a nested function? You probably need two representations. 1) Often overlooked is UML support for free functions and procedures. The only place I saw them actually used it the Rational Ada <-> Rational Rose mapping. 2) You would need a Class of stereotype <> and the procedure as target type. But then I don't know any UML tool that handles functions or procedure pointer natively. Having said that: You did reveal the real weakness for UML: UML is mostly about the interfaces and not internals. Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com