Version 4 (modified by nerdzero, 12 years ago) |
---|
Namespace
namespace <namespaceId>
Declare the namespace the content following the namespace clause belongs to. Indenting the content of the namespace is optional.
<namespaceId> may be a single Toplevel Identifier ([A-Z][a-zA-Z0-9_]*) or a sequence of Identifiers separated by '.'.
Each Identifier within the Namespace sequence must start with an uppercase letter.
A Namespace may contain
- A DocString directly after the namespace declaration documenting the Namespace. (Currently not implemented)
- Class Definition
- Interface Definition
- Structure Definition
- Enumeration
- Signature
- Extension Definition
- Mixin Definition
Example
namespace Test ... namespace Foo.Bar.Baz ...