MCPcopy Index your code
hub / github.com/nodejs/node / appendExportStatement

Function appendExportStatement

test/fixtures/snapshot/typescript.js:105546–105549  ·  view source on GitHub ↗

* Appends the down-level representation of an export 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 allocate

(statements, exportName, expression, location, allowComments, liveBinding)

Source from the content-addressed store, hash-verified

105544 * @param allowComments Whether to allow comments on the export.
105545 */
105546 function appendExportStatement(statements, exportName, expression, location, allowComments, liveBinding) {
105547 statements = ts.append(statements, createExportStatement(exportName, expression, location, allowComments, liveBinding));
105548 return statements;
105549 }
105550 function createUnderscoreUnderscoreESModule() {
105551 var statement;
105552 if (languageVersion === 0 /* ScriptTarget.ES3 */) {

Callers 4

visitExportAssignmentFunction · 0.85

Calls 2

createExportStatementFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected