Talk About Network

Google





Programming > Ada > Re: How to exte...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 11 Topic 5742 of 6006
Post > Topic >>

Re: How to extend packages

by Simon Wright <simon.j.wright@[EMAIL PROTECTED] > Jun 7, 2008 at 05:04 PM

Sébastien Morand <seb.morand@[EMAIL PROTECTED]
> writes:

> with GNAT.Regpat; use GNAT.Regpat;

This is not necessary; the parent's spec (including the private part)
is directly visible within the child.

Though I'm not sure what help that would be in future, since in 4.3.0
the spec is ..

   with System.Regpat;

   package GNAT.Regpat renames System.Regpat;

> package GNAT.Regpat.Extended is
> end GNAT.Regpat.Extended;

But the only private type in Regpat is Pattern_Matcher. Is knowledge
of Pattern_Matcher required in order to write OP's extensions? If so,
OP will have to write a child (of System.Regpat, I think).
 




 11 Posts in Topic:
How to extend packages
"snoopysalive@[EMAIL  2008-06-06 10:00:02 
Re: How to extend packages
witmer <witmer@[EMAIL   2008-06-06 10:24:49 
Re: How to extend packages
=?ISO-8859-1?Q?S=E9bastie  2008-06-06 17:45:15 
Re: How to extend packages
Stephen Leake <Stephe.  2008-06-07 10:21:30 
Re: How to extend packages
Simon Wright <simon.j.  2008-06-07 17:04:57 
Re: How to extend packages
Georg Bauhaus <rm.tsoh  2008-06-06 20:16:33 
Re: How to extend packages
"snoopysalive@[EMAIL  2008-06-07 14:50:07 
Re: How to extend packages
Simon Wright <simon.j.  2008-06-08 12:09:35 
Re: How to extend packages
"snoopysalive@[EMAIL  2008-06-09 15:38:30 
Re: How to extend packages
Simon Wright <simon.j.  2008-06-10 06:40:40 
Re: How to extend packages
"snoopysalive@[EMAIL  2008-06-14 01:45:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 13:17:35 PST 2009.