Child pages
  • NamespaceMember

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Code Block
syntax NamespaceMember
{
  | Namespace    = "namespace" QualifiedName "{"  NamespaceBody  "}";
  | SyntaxModule = "syntax" "module" Name "{" Using* SyntaxModuleMember*  "}";
}

Namespaces may contain declarations of other namespaces or syntax modules.
For example:

Code Block
namespace Nitra.Tests
{
  syntax module JsonParser
  {
    using PrettyPrint;
    using Outline;

  }
}

See also

Namespace
SyntaxModule
Name
QualifiedName
NamespaceBody
SyntaxModuleMember
Using