MCPcopy
hub / github.com/postcss/postcss / root

Method root

lib/stringifier.js:342–349  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

340 }
341
342 root(node) {
343 this.body(node)
344 if (node.raws.after) {
345 let after = node.raws.after
346 let isDocument = node.parent && node.parent.type === 'document'
347 this.builder(isDocument ? after : escapeHTMLInCSS(after))
348 }
349 }
350
351 rule(node) {
352 this.block(node, this.rawValue(node, 'selector'))

Callers 1

rawMethod · 0.45

Calls 2

bodyMethod · 0.95
escapeHTMLInCSSFunction · 0.85

Tested by

no test coverage detected