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

Function updateClassExpression

test/fixtures/snapshot/typescript.js:24633–24642  ·  view source on GitHub ↗
(node, decorators, modifiers, name, typeParameters, heritageClauses, members)

Source from the content-addressed store, hash-verified

24631 }
24632 // @api
24633 function updateClassExpression(node, decorators, modifiers, name, typeParameters, heritageClauses, members) {
24634 return node.decorators !== decorators
24635 || node.modifiers !== modifiers
24636 || node.name !== name
24637 || node.typeParameters !== typeParameters
24638 || node.heritageClauses !== heritageClauses
24639 || node.members !== members
24640 ? update(createClassExpression(decorators, modifiers, name, typeParameters, heritageClauses, members), node)
24641 : node;
24642 }
24643 // @api
24644 function createOmittedExpression() {
24645 return createBaseExpression(227 /* SyntaxKind.OmittedExpression */);

Callers 1

updateModifiersFunction · 0.85

Calls 2

createClassExpressionFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected