(node, dontRecursivelyResolve)
| 50768 | return getTargetOfAliasLikeExpression(node.parent.right, dontRecursivelyResolve); |
| 50769 | } |
| 50770 | function getTargetOfAliasDeclaration(node, dontRecursivelyResolve) { |
| 50771 | if (dontRecursivelyResolve === void 0) { dontRecursivelyResolve = false; } |
| 50772 | switch (node.kind) { |
| 50773 | case 265 /* SyntaxKind.ImportEqualsDeclaration */: |
| 50774 | case 254 /* SyntaxKind.VariableDeclaration */: |
| 50775 | return getTargetOfImportEqualsDeclaration(node, dontRecursivelyResolve); |
| 50776 | case 267 /* SyntaxKind.ImportClause */: |
| 50777 | return getTargetOfImportClause(node, dontRecursivelyResolve); |
| 50778 | case 268 /* SyntaxKind.NamespaceImport */: |
| 50779 | return getTargetOfNamespaceImport(node, dontRecursivelyResolve); |
| 50780 | case 274 /* SyntaxKind.NamespaceExport */: |
| 50781 | return getTargetOfNamespaceExport(node, dontRecursivelyResolve); |
| 50782 | case 270 /* SyntaxKind.ImportSpecifier */: |
| 50783 | case 203 /* SyntaxKind.BindingElement */: |
| 50784 | return getTargetOfImportSpecifier(node, dontRecursivelyResolve); |
| 50785 | case 275 /* SyntaxKind.ExportSpecifier */: |
| 50786 | return getTargetOfExportSpecifier(node, 111551 /* SymbolFlags.Value */ | 788968 /* SymbolFlags.Type */ | 1920 /* SymbolFlags.Namespace */, dontRecursivelyResolve); |
| 50787 | case 271 /* SyntaxKind.ExportAssignment */: |
| 50788 | case 221 /* SyntaxKind.BinaryExpression */: |
| 50789 | return getTargetOfExportAssignment(node, dontRecursivelyResolve); |
| 50790 | case 264 /* SyntaxKind.NamespaceExportDeclaration */: |
| 50791 | return getTargetOfNamespaceExportDeclaration(node, dontRecursivelyResolve); |
| 50792 | case 297 /* SyntaxKind.ShorthandPropertyAssignment */: |
| 50793 | return resolveEntityName(node.name, 111551 /* SymbolFlags.Value */ | 788968 /* SymbolFlags.Type */ | 1920 /* SymbolFlags.Namespace */, /*ignoreErrors*/ true, dontRecursivelyResolve); |
| 50794 | case 296 /* SyntaxKind.PropertyAssignment */: |
| 50795 | return getTargetOfPropertyAssignment(node, dontRecursivelyResolve); |
| 50796 | case 207 /* SyntaxKind.ElementAccessExpression */: |
| 50797 | case 206 /* SyntaxKind.PropertyAccessExpression */: |
| 50798 | return getTargetOfAccessExpression(node, dontRecursivelyResolve); |
| 50799 | default: |
| 50800 | return ts.Debug.fail(); |
| 50801 | } |
| 50802 | } |
| 50803 | /** |
| 50804 | * Indicates that a symbol is an alias that does not merge with a local declaration. |
| 50805 | * OR Is a JSContainer which may merge an alias with a local declaration |
no test coverage detected
searching dependent graphs…