mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
The namepath connector for inner symbols changed from - to ~. Added type to @exception.
This commit is contained in:
parent
eb6c9d0bdb
commit
44df2ede7e
@ -263,7 +263,6 @@
|
||||
tagAbout = tagDictionary.lookUp(tags[i].name);
|
||||
|
||||
if (tagAbout.setsDocletAccess) {
|
||||
print('>>>> set access to '+tags[i].name);
|
||||
tags[tags.length] = parse_tag.fromText('access '+tags[i].name);
|
||||
}
|
||||
|
||||
@ -271,6 +270,11 @@ print('>>>> set access to '+tags[i].name);
|
||||
tags[tags.length] = parse_tag.fromText(tagAbout.impliesTag);
|
||||
}
|
||||
|
||||
if (tagAbout.setsDocletDesc) {
|
||||
tags[tags.length] = parse_tag.fromText('desc '+tags[i].desc);
|
||||
print('>>> tag desc is '+tags[i].toSource());
|
||||
}
|
||||
|
||||
if (tags[i].name === 'name') {
|
||||
if (name && name !== tags[i].value) {
|
||||
throw new DocTagConflictError('Conflicting names in documentation: "'+name+'", and "'+tags[i].value+'"');
|
||||
|
||||
@ -51,6 +51,7 @@
|
||||
TagDefinition.prototype = {
|
||||
isExported : false, // this tag should appear as a top level property in the doclet?
|
||||
setsDocletIsa : false, // the name of this tag is used to define the doclet's isa property
|
||||
setsDocletDesc : false,
|
||||
setsDocletName : false, // this tag can be used to name the doclet
|
||||
setsDocletAccess: false, // the name of this tag becomes the access of the doclet
|
||||
setsDocletType : false, // the type of this tag becomes th type of the doclet
|
||||
@ -167,6 +168,7 @@
|
||||
*/
|
||||
new TagDefinition('file', { //t
|
||||
setsDocletIsa: true,
|
||||
setsDocletDesc: true,
|
||||
setsDocletName: true,
|
||||
setsDocletDocspace: true
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user