File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,13 @@ identifiers, and labels are used to refer to an entity.
144144
145145### Namespace
146146
147- A [ * namespace* ] is a set of [ names] ( #name ) where each name unambiguously
148- refers to a specific [ entity] ( #entity ) . Namespaces are organized in a
149- hierarchy, where each level of the hierarchy has its own collection of named
150- entities.
147+ A * namespace* is a logical grouping of declared [ names] ( #name ) based on the
148+ kind of [ entity] ( #entity ) the name refers to. Namespaces allow the occurrence
149+ of a name in one namespace to not conflict with the same name in another
150+ namespace.
151+
152+ Within a namespace, names are organized in a hierarchy, where each level of
153+ the hierarchy has its own collection of named entities.
151154
152155### Nominal types
153156
Original file line number Diff line number Diff line change 11# Namespaces
22
3- A * namespace* is a set of [ names] where each name unambiguously refers to a
4- specific [ entity] . Namespaces are organized in a hierarchy, where each level
5- of the hierarchy has its own collection of named entities.
3+ A * namespace* is a logical grouping of declared [ names] . Names are segregated
4+ into separate namespaces based on the kind of entity the name refers to.
5+ Namespaces allow the occurrence of a name in one namespace to not conflict
6+ with the same name in another namespace.
7+
8+ Within a namespace, names are organized in a hierarchy, where each level of
9+ the hierarchy has its own collection of named entities.
610
711There are several different namespaces that each contain different kinds of
812entities. The usage of a name will look for the declaration of that name in
You can’t perform that action at this time.
0 commit comments