8.5.3 Package Renaming Declarations

From OC Systems Wiki!
< Guide:95lrm
Revision as of 23:38, 4 May 2019 by imported>WikiVisor (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A package_renaming_declaration is used to rename a package.

Syntax

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.

Examples

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