(parser, doclet, astNode)
| 163 | } |
| 164 | |
| 165 | function processAlias(parser, doclet, astNode) { |
| 166 | let memberofName; |
| 167 | |
| 168 | if (doclet.alias === '{@thisClass}') { |
| 169 | memberofName = parser.resolveThis(astNode); |
| 170 | |
| 171 | // "class" refers to the owner of the prototype, not the prototype itself |
| 172 | if ( /^(.+?)(\.prototype|#)$/.test(memberofName) ) { |
| 173 | memberofName = RegExp.$1; |
| 174 | } |
| 175 | doclet.alias = memberofName; |
| 176 | } |
| 177 | |
| 178 | doclet.addTag('name', doclet.alias); |
| 179 | doclet.postProcess(); |
| 180 | } |
| 181 | |
| 182 | // TODO: separate code that resolves `this` from code that resolves the module object |
| 183 | function findSymbolMemberof(parser, doclet, astNode, nameStartsWith, trailingPunc) { |
no test coverage detected
searching dependent graphs…