Registers a namespace with the parser.
Example
/**
* @document
* @namespace adventureworks Main AdventureWorks namespace.
* @namespace adventureworks.utils Contains the AdventureWorks' utility classes.
* This part is the extended description of the adventureworks.utils namespace.
*/
Description
Because ECMAScript 3 and lower doesn't provide built-in support for specifying namespaces through the
package keyword and related constructs, this token can be used to define namespaces as used in code. It instructs ECMADoc to register the specified name as a namespace in the current project. It can only appear within
@document comments.
This token consists of three parts:
@namespace name summary
description
- The name of the namespace. Required.
(Alphanumeric characters including '.' and '$' until the first space). - The summary of the namespace. Optional.
(Any characters until the end of the line). - The description of the namespace. Optional.
(Any characters from the start of the second line until the next token or until the end of the comment).
See also
All tokens
@package
@document