comp.lang.ada
 help / color / mirror / Atom feed
From: "Pat Rogers" <progers@classwide.com>
Subject: Re: with child: access to parent
Date: Thu, 11 Oct 2001 14:54:32 GMT
Date: 2001-10-11T14:54:32+00:00	[thread overview]
Message-ID: <Ioix7.326$FJ.160227515@newssvr11.news.prodigy.com> (raw)
In-Reply-To: 9q4cjm$jnf$1@infosun2.rus.uni-stuttgart.de

"Peter Hermann" <ica2ph@iris16.csv.ica.uni-stuttgart.de> wrote in message
news:9q4cjm$jnf$1@infosun2.rus.uni-stuttgart.de...
> Jean-Pierre Rosen <rosen@adalog.fr> wrote:
> > Note however that if you really want the child and not the parents,
> > you can do the following:
>
> > with a.b.c.d;
> > package a_b_c_d renames a.b.c.d;
>
> > with a_b_c_d;
> > ...
>
> does that mean package a_b_c_d is a unit on library level
> in its own right?

Yes, it is a library unit renaming, as is the case, for example, with
Text_IO (which renames Ada.Text_IO) by 10.1.1{4}:

library_item ::= [private] library_unit_declaration
  | library_unit_body
  | [private] library_unit_renaming_declaration


> If yes, how to map into the gnat file naming system?

a_b_c_d.ads





  reply	other threads:[~2001-10-11 14:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02 10:06 with child: access to parent Peter Hermann
2001-10-02 10:49 ` Pat Rogers
2001-10-02 12:53   ` Marc A. Criley
2001-10-02 14:25     ` Peter Hermann
2001-10-02 14:44       ` Pat Rogers
2001-10-02 14:10   ` Peter Hermann
2001-10-02 14:17     ` Ted Dennison
2001-10-02 15:17       ` Wes Groleau
2001-10-02 16:14         ` Peter Hermann
2001-10-12 13:58         ` Simon Wright
2001-10-02 14:22     ` Pat Rogers
2001-10-08 10:51       ` Jean-Pierre Rosen
2001-10-11 15:07         ` Peter Hermann
2001-10-11 14:54           ` Pat Rogers [this message]
2001-10-03  0:34     ` dale
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox