MCPcopy
hub / github.com/prettier/prettier / printClosingTag

Function printClosingTag

src/language-html/print/tag.js:25–30  ·  view source on GitHub ↗
(node, options)

Source from the content-addressed store, hash-verified

23} from "../utilities/index.js";
24
25function printClosingTag(node, options) {
26 return [
27 node.isSelfClosing ? "" : printClosingTagStart(node, options),
28 printClosingTagEnd(node, options),
29 ];
30}
31
32function printClosingTagStart(node, options) {
33 return node.lastChild &&

Callers 3

embedFunction · 0.90
printElementFunction · 0.90
printTagFunction · 0.90

Calls 2

printClosingTagStartFunction · 0.85
printClosingTagEndFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…