(node)
| 17004 | } |
| 17005 | ts.getHostSignatureFromJSDoc = getHostSignatureFromJSDoc; |
| 17006 | function getEffectiveJSDocHost(node) { |
| 17007 | var host = getJSDocHost(node); |
| 17008 | if (host) { |
| 17009 | return getSourceOfDefaultedAssignment(host) |
| 17010 | || getSourceOfAssignment(host) |
| 17011 | || getSingleInitializerOfVariableStatementOrPropertyDeclaration(host) |
| 17012 | || getSingleVariableOfVariableStatement(host) |
| 17013 | || getNestedModuleDeclaration(host) |
| 17014 | || host; |
| 17015 | } |
| 17016 | } |
| 17017 | ts.getEffectiveJSDocHost = getEffectiveJSDocHost; |
| 17018 | /** Use getEffectiveJSDocHost if you additionally need to look for jsdoc on parent nodes, like assignments. */ |
| 17019 | function getJSDocHost(node) { |
no test coverage detected