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

Function createExportDeclaration

test/fixtures/snapshot/typescript.js:25501–25512  ·  view source on GitHub ↗
(decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause)

Source from the content-addressed store, hash-verified

25499 }
25500 // @api
25501 function createExportDeclaration(decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {
25502 var node = createBaseDeclaration(272 /* SyntaxKind.ExportDeclaration */, decorators, modifiers);
25503 node.isTypeOnly = isTypeOnly;
25504 node.exportClause = exportClause;
25505 node.moduleSpecifier = moduleSpecifier;
25506 node.assertClause = assertClause;
25507 node.transformFlags |=
25508 propagateChildFlags(node.exportClause) |
25509 propagateChildFlags(node.moduleSpecifier);
25510 node.transformFlags &= ~16777216 /* TransformFlags.ContainsPossibleTopLevelAwait */; // always parsed in an Await context
25511 return node;
25512 }
25513 // @api
25514 function updateExportDeclaration(node, decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {
25515 return node.decorators !== decorators

Callers 2

updateExportDeclarationFunction · 0.85

Calls 2

createBaseDeclarationFunction · 0.85
propagateChildFlagsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…