Prev | Up | Next | Back | Forward
TOC -- / --.-- / --.--.-- | Index | Search | Syntax | Help


8.5.3 Package Renaming Declarations

(1)
A package_renaming_declaration is used to rename a package.
Syntax
(2)
       package_renaming_declaration ::= package defining_program_unit_name renamespackage_name;
Legality Rules
(3)
The renamed entity shall be a package.
Static Semantics
(4)
A package_renaming_declaration declares a new view of the renamed package.
Examples
(5)
Example of renaming a package:
(6)
       package TM renames Table_Manager;

Prev | Up | Next | Back | Forward
TOC -- / --.-- / --.--.-- | Index | Search | Syntax | Help

Ada WWW Home -- Email comments, additions, corrections, gripes, kudos, etc. to:

Magnus Kempe -- Magnus.Kempe@di.epfl.ch
Copyright statement
Page last generated: 95-03-12