MCPcopy Create free account
hub / github.com/nodejs/node / appendExportsOfImportEqualsDeclaration

Function appendExportsOfImportEqualsDeclaration

test/fixtures/snapshot/typescript.js:105442–105447  ·  view source on GitHub ↗

* Appends the exports of an ImportEqualsDeclaration 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

(statements, decl)

Source from the content-addressed store, hash-verified

105440 * @param decl The declaration whose exports are to be recorded.
105441 */
105442 function appendExportsOfImportEqualsDeclaration(statements, decl) {
105443 if (currentModuleInfo.exportEquals) {
105444 return statements;
105445 }
105446 return appendExportsOfDeclaration(statements, decl);
105447 }
105448 /**
105449 * Appends the exports of a VariableStatement to a statement list, returning the statement
105450 * list.

Callers 1

Calls 2

appendMethod · 0.45

Tested by

no test coverage detected