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

Function createClassStaticBlockDeclaration

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

Source from the content-addressed store, hash-verified

23383 }
23384 // @api
23385 function createClassStaticBlockDeclaration(decorators, modifiers, body) {
23386 var node = createBaseGenericNamedDeclaration(170 /* SyntaxKind.ClassStaticBlockDeclaration */, decorators, modifiers,
23387 /*name*/ undefined,
23388 /*typeParameters*/ undefined);
23389 node.body = body;
23390 node.transformFlags = propagateChildFlags(body) | 8388608 /* TransformFlags.ContainsClassFields */;
23391 return node;
23392 }
23393 // @api
23394 function updateClassStaticBlockDeclaration(node, decorators, modifiers, body) {
23395 return node.decorators !== decorators

Callers 1

Calls 2

propagateChildFlagsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…