Sha256: 1e5331dc8eea8b0c4c1b25af25f04accff33b5aeea6e418604a35a80861774fe
Contents?: true
Size: 1.03 KB
Versions: 4
Compression:
Stored size: 1.03 KB
Contents
JSDOC.PluginManager.registerPlugin("InterfacePlugin", { // Called during the construction of the Symbol onSymbol: function(symbol) { if (!symbol.comment) return; if (symbol.comment.getTag("interface").length) symbol.isInterface= true; symbol.implementedInterfaces= symbol.comment.getTag("implements"); }, onDocCommentTags: function(comment) { var interfaceTag= comment.getTag("interface"); if (!interfaceTag || !interfaceTag.length) return; interfaceTag= interfaceTag[0]; if (!comment.getTag("class").length) comment.tags.push(new JSDOC.DocTag("class " + interfaceTag.desc)); if (!comment.getTag("name").length) comment.tags.push(new JSDOC.DocTag("name " + interfaceTag.name)); }, onDocTag: function(tag) { switch (tag.title) { case 'interface': tag.desc= tag.nibbleName(tag.desc); break; } } });
Version data entries
4 entries across 4 versions & 1 rubygems