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

Function createConstructorDeclaration

test/fixtures/snapshot/typescript.js:23402–23409  ·  view source on GitHub ↗
(decorators, modifiers, parameters, body)

Source from the content-addressed store, hash-verified

23400 }
23401 // @api
23402 function createConstructorDeclaration(decorators, modifiers, parameters, body) {
23403 var node = createBaseFunctionLikeDeclaration(171 /* SyntaxKind.Constructor */, decorators, modifiers,
23404 /*name*/ undefined,
23405 /*typeParameters*/ undefined, parameters,
23406 /*type*/ undefined, body);
23407 node.transformFlags |= 1024 /* TransformFlags.ContainsES2015 */;
23408 return node;
23409 }
23410 // @api
23411 function updateConstructorDeclaration(node, decorators, modifiers, parameters, body) {
23412 return node.decorators !== decorators

Callers 1

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…