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

3.11 Declarative Parts

A declarative_part contains declarative_items (possibly none).

Syntax

   
       declarative_part ::= {declarative_item}

       declarative_item ::=
           basic_declarative_item | body

       basic_declarative_item ::=
           basic_declaration | representation_clause | use_clause

       body ::= proper_body | body_stub

       proper_body ::=
           subprogram_body | package_body | task_body | protected_body

Dynamic Semantics

The elaboration of a declarative_part consists of the elaboration of the declarative_items, if any, in the order in which they are given in the declarative_part.

An elaborable construct is in the elaborated state after the normal completion of its elaboration. Prior to that, it is not yet elaborated.

For a construct that attempts to use a body, a check (Elaboration_Check) is performed, as follows:

The exception Program_Error is raised if any of these checks fails.


Subclauses

  1. Completions of Declarations

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