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

Function updateJsxOpeningElement

test/fixtures/snapshot/typescript.js:26058–26064  ·  view source on GitHub ↗
(node, tagName, typeArguments, attributes)

Source from the content-addressed store, hash-verified

26056 }
26057 // @api
26058 function updateJsxOpeningElement(node, tagName, typeArguments, attributes) {
26059 return node.tagName !== tagName
26060 || node.typeArguments !== typeArguments
26061 || node.attributes !== attributes
26062 ? update(createJsxOpeningElement(tagName, typeArguments, attributes), node)
26063 : node;
26064 }
26065 // @api
26066 function createJsxClosingElement(tagName) {
26067 var node = createBaseNode(281 /* SyntaxKind.JsxClosingElement */);

Callers

nothing calls this directly

Calls 2

createJsxOpeningElementFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected