DocAda(tm) is a productivity tool of KSCE

Prev | Up | ____ | Back | Forward
About DocAda Light: Preface / Preliminary / Help / TOC / Copyright
DocAda Online at the Ada Home: Complete RM95 / Updates / News

8.5.5 Generic Renaming Declarations

A generic_renaming_declaration is used to rename a generic unit.

Syntax

   
       generic_renaming_declaration ::=
           generic package       defining_program_unit_name renames generic_package_name;
         | generic procedure     defining_program_unit_name renames generic_procedure_name;
         | generic function      defining_program_unit_name renames generic_function_name;

Legality Rules

The renamed entity shall be a generic unit of the corresponding kind.

Static Semantics

A generic_renaming_declaration declares a new view of the renamed generic unit.

Examples

Example of renaming a generic unit:

   
       generic package Enum_IO renames Ada.Text_IO.Enumeration_IO;  -- see A.10.10

About DocAda Light: Preface / Preliminary / Help / TOC / Copyright
DocAda Online at the Ada Home: Complete RM95 / Updates / News
Prev | Up | ____ | Back | Forward


Copyright © 1994-1997 by Kempe Software Capital Enterprises. All Rights Reserved. For comments on this DocAda(tm) hypertext document, please write to KSCE, at docada@ksce.com