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

Function insertStatementAfterStandardPrologue

test/fixtures/snapshot/typescript.js:14664–14666  ·  view source on GitHub ↗

* Prepends statements to an array while taking care of prologue directives.

(to, statement)

Source from the content-addressed store, hash-verified

14662 * Prepends statements to an array while taking care of prologue directives.
14663 */
14664 function insertStatementAfterStandardPrologue(to, statement) {
14665 return insertStatementAfterPrologue(to, statement, isPrologueDirective);
14666 }
14667 ts.insertStatementAfterStandardPrologue = insertStatementAfterStandardPrologue;
14668 function insertStatementAfterCustomPrologue(to, statement) {
14669 return insertStatementAfterPrologue(to, statement, isAnyPrologueDirective);

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected