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


8.1 Declarative Region

Static Semantics
(1)
For each of the following constructs, there is a portion of the program text called its declarative region, within which nested declarations can occur:
(2)
(3)
(4)
(5)
(6)
(7)
The declarative region includes the text of the construct together with additional text determined (recursively), as follows:
(8)
(9)
(10)
(11)
(12)
The declarative region of a declaration is also called the declarative region of any view or entity declared by the declaration.
(13)
A declaration occurs immediately within a declarative region if this region is the innermost declarative region that encloses the declaration (the immediately enclosing declarative region), not counting the declarative region (if any) associated with the declaration itself.
(14)
A declaration is local to a declarative region if the declaration occurs immediately within the declarative region. An entity is local to a declarative region if the entity is declared by a declaration that is local to the declarative region.
(15)
A declaration is global to a declarative region if the declaration occurs immediately within another declarative region that encloses the declarative region. An entity is global to a declarative region if the entity is declared by a declaration that is global to the declarative region.

(16)
(17)
(18)


____ | 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