8.5.3 Package Renaming Declarations

From OC Systems Wiki!
Jump to: navigation, search

A package_renaming_declaration is used to rename a package.


package_renaming_declaration ::= package defining_program_unit_name renames package_name;

Legality Rules

The renamed entity shall be a package.

Static Semantics

A package_renaming_declaration declares a new view of the renamed package.


Example of renaming a package:

package TM renames Table_Manager;

Copyright © 1992,1993,1994,1995 Intermetrics, Inc.
Copyright © 2000 The MITRE Corporation, Inc. Ada Reference Manual