* Appends the exports of a VariableStatement to a statement list, returning the statement * list. * * @param statements A statement list to which the down-level export statements are to be * appended. If `statements` is `undefined`, a new array is allocated if sta
(statements, node)
| 105455 | * @param node The VariableStatement whose exports are to be recorded. |
| 105456 | */ |
| 105457 | function appendExportsOfVariableStatement(statements, node) { |
| 105458 | if (currentModuleInfo.exportEquals) { |
| 105459 | return statements; |
| 105460 | } |
| 105461 | for (var _i = 0, _a = node.declarationList.declarations; _i < _a.length; _i++) { |
| 105462 | var decl = _a[_i]; |
| 105463 | statements = appendExportsOfBindingElement(statements, decl); |
| 105464 | } |
| 105465 | return statements; |
| 105466 | } |
| 105467 | /** |
| 105468 | * Appends the exports of a VariableDeclaration or BindingElement to a statement list, |
| 105469 | * returning the statement list. |
no test coverage detected
searching dependent graphs…