Wiki
Version 5 (modified by Charles, 12 years ago)

--

Namespace

namespace <namespaceId>

Declare a namespace to be followed by declarations belonging to it. 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
   ...