17 lines
381 B
JavaScript
17 lines
381 B
JavaScript
/**
|
|
* Handle the interface annotation.
|
|
* @param {Object} dictionary The tag dictionary.
|
|
*/
|
|
exports.defineTags = function(dictionary) {
|
|
|
|
var classTag = dictionary.lookUp('class');
|
|
dictionary.defineTag('interface', {
|
|
mustHaveValue: false,
|
|
onTagged: function(doclet, tag) {
|
|
classTag.onTagged.apply(this, arguments);
|
|
doclet.interface = true;
|
|
}
|
|
});
|
|
|
|
};
|