The namepath connector for inner symbols changed from - to ~. Added type to @exception.

This commit is contained in:
Michael Mathews 2010-07-10 09:24:16 +01:00
parent eb6c9d0bdb
commit 44df2ede7e
2 changed files with 7 additions and 1 deletions

View File

@ -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+'"');

View File

@ -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
});