From: "Samuel T. Harris" <sam_harris@hso.link.com>
Subject: Re: Elimination of "use" clauses
Date: 1999/07/01
Date: 1999-07-01T00:00:00+00:00 [thread overview]
Message-ID: <377BE707.D34E4488@hso.link.com> (raw)
In-Reply-To: 377B5807.88B875E0@cs.york.ac.uk
"Dr. Neil C. Audsley" wrote:
>
> We have a lot of Ada source that "with"s and "use"s a lot of packages --
> to the extent that it is difficult and time-consuming to find out which
> package a procedure is actually from.
> Ideally, we would like to eliminate "use" clauses, necessitating the
> replacement of each procedure call X by PackageName.X instead.
> Is there a tool that does this?
>
Rational Apex has a "complete" facility which fully expands
name of things, adds named notation. It can be used on
already written constructs (your case) or on a partitial
or even ambiguous call. If only partitial, it will fill in
any missing parameters using named notation and use a
[some_type_expression] as a filler for the missing actual
parameters. If ambigous, it open a window with a list of
possible candidates. You can "visit" each candidate to
determine which one you need. The problem with this
facility is that it used to work on a selection of
code text but now only works on one statement at a time.
Works good while supporting the writing of code but is
very clumsy to use to retro-format existing code.
As far as your general problem is concerned, if you audience
reading the code can do it on-line, then a solution is to
use one of the many tools which provide a similar "visit"
function. Apex, Emacs with ada-tags, or ada2html from
David Wheeler all come to mind.
--
Samuel T. Harris, Principal Engineer
Raytheon, Scientific and Technical Systems
"If you can make it, We can fake it!"
next prev parent reply other threads:[~1999-07-01 0:00 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-01 0:00 Elimination of "use" clauses Dr. Neil C. Audsley
1999-07-01 0:00 ` Joe Wisniewski
1999-07-01 0:00 ` Samuel T. Harris [this message]
1999-07-01 0:00 ` czgrr
1999-07-01 0:00 ` Ted Dennison
1999-07-02 0:00 ` czgrr
1999-07-02 0:00 ` Ted Dennison
1999-07-02 0:00 ` Robert Dewar
1999-07-02 0:00 ` Samuel T. Harris
1999-07-02 0:00 ` Robert Dewar
1999-07-08 0:00 ` R. Tim Coslet
1999-07-09 0:00 ` Robert Dewar
1999-07-09 0:00 ` tmoran
[not found] ` <7ltl2q$mog$1@nnrp1.deja.com>
1999-07-08 0:00 ` Michael F. Yoder
1999-07-09 0:00 ` Richard D Riehle
1999-07-09 0:00 ` Michael F. Yoder
1999-07-09 0:00 ` Marin David Condic
1999-07-09 0:00 ` Robert Dewar
1999-07-09 0:00 ` Dale Stanbrough
1999-07-12 0:00 ` Robert Dewar
1999-07-12 0:00 ` Ted Dennison
1999-07-09 0:00 ` Michael F. Yoder
1999-07-14 0:00 ` Tucker Taft
1999-07-10 0:00 ` Simon Wright
1999-07-12 0:00 ` Robert Dewar
1999-07-02 0:00 ` Ted Dennison
1999-07-02 0:00 ` Ed Falis
1999-07-02 0:00 ` Stephen Leake
1999-07-02 0:00 ` Robert Dewar
[not found] ` <7ltus1$ah1@dfw-ixnews19.ix.netcom.com>
1999-07-13 0:00 ` Robert A Duff
1999-07-18 0:00 ` Richard D Riehle
1999-07-18 0:00 ` Dale Stanbrough
1999-07-20 0:00 ` David Kristola
1999-07-20 0:00 ` Richard D Riehle
1999-07-19 0:00 ` Brian Rogoff
1999-07-20 0:00 ` Robert Dewar
1999-07-20 0:00 ` Brian Rogoff
1999-07-21 0:00 ` Ted Dennison
1999-07-21 0:00 ` Robert A Duff
1999-07-21 0:00 ` Robert Dewar
1999-07-21 0:00 ` Robert Dewar
1999-07-21 0:00 ` Brian Rogoff
1999-07-22 0:00 ` Robert Dewar
1999-07-22 0:00 ` Brian Rogoff
1999-07-22 0:00 ` Robert Dewar
1999-07-22 0:00 ` Brian Rogoff
1999-07-21 0:00 ` Robert A Duff
1999-07-21 0:00 ` Michael F. Yoder
1999-07-21 0:00 ` Robert A Duff
1999-07-23 0:00 ` Tucker Taft
1999-08-03 0:00 ` Richard D Riehle
1999-07-18 0:00 ` jerry
1999-07-19 0:00 ` Vladimir Olensky
1999-07-20 0:00 ` Richard D Riehle
1999-07-20 0:00 ` jerry
1999-07-20 0:00 ` Opaque Types (was Elimination of "use" clauses) David C. Hoos, Sr.
1999-07-19 0:00 ` Elimination of "use" clauses Ted Dennison
1999-07-19 0:00 ` Tucker Taft
1999-07-19 0:00 ` Ted Dennison
1999-07-02 0:00 ` Ed Falis
1999-07-03 0:00 ` Joe Wisniewski
1999-07-03 0:00 ` Ed Falis
1999-07-03 0:00 ` Keith Thompson
1999-07-13 0:00 ` Peter Amey
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox