Wiki
Version 4 (modified by nerdzero, 12 years ago)

note that indenting namespace content is optional. add mixin to list of valid namespace content

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

Example

namespace Test
    ...

namespace Foo.Bar.Baz
   ...