(moduleDeclaration)
| 141489 | return spans; |
| 141490 | } |
| 141491 | function getModuleName(moduleDeclaration) { |
| 141492 | // We want to maintain quotation marks. |
| 141493 | if (ts.isAmbientModule(moduleDeclaration)) { |
| 141494 | return ts.getTextOfNode(moduleDeclaration.name); |
| 141495 | } |
| 141496 | return getFullyQualifiedModuleName(moduleDeclaration); |
| 141497 | } |
| 141498 | function getFullyQualifiedModuleName(moduleDeclaration) { |
| 141499 | // Otherwise, we need to aggregate each identifier to build up the qualified name. |
| 141500 | var result = [ts.getTextOfIdentifierOrLiteral(moduleDeclaration.name)]; |
no test coverage detected
searching dependent graphs…