Version 3 (modified by hopscc, 13 years ago) |
---|
Namespace
namespace <namespaceId>
Declare the namespace the (indented) content following the namespace clause belongs to.
<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
Example
namespace Test ... namespace Foo.Bar.Baz ...