(node)
| 47112 | } |
| 47113 | } |
| 47114 | function bindExportDeclaration(node) { |
| 47115 | if (!container.symbol || !container.symbol.exports) { |
| 47116 | // Export * in some sort of block construct |
| 47117 | bindAnonymousDeclaration(node, 8388608 /* SymbolFlags.ExportStar */, getDeclarationName(node)); |
| 47118 | } |
| 47119 | else if (!node.exportClause) { |
| 47120 | // All export * declarations are collected in an __export symbol |
| 47121 | declareSymbol(container.symbol.exports, container.symbol, node, 8388608 /* SymbolFlags.ExportStar */, 0 /* SymbolFlags.None */); |
| 47122 | } |
| 47123 | else if (ts.isNamespaceExport(node.exportClause)) { |
| 47124 | // declareSymbol walks up parents to find name text, parent _must_ be set |
| 47125 | // but won't be set by the normal binder walk until `bindChildren` later on. |
| 47126 | ts.setParent(node.exportClause, node); |
| 47127 | declareSymbol(container.symbol.exports, container.symbol, node.exportClause, 2097152 /* SymbolFlags.Alias */, 2097152 /* SymbolFlags.AliasExcludes */); |
| 47128 | } |
| 47129 | } |
| 47130 | function bindImportClause(node) { |
| 47131 | if (node.name) { |
| 47132 | declareSymbolAndAddToSymbolTable(node, 2097152 /* SymbolFlags.Alias */, 2097152 /* SymbolFlags.AliasExcludes */); |
no test coverage detected
searching dependent graphs…