MCPcopy
hub / github.com/postcss/postcss / rawSemicolon

Method rawSemicolon

lib/stringifier.js:321–330  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

319 }
320
321 rawSemicolon(root) {
322 let value
323 root.walk(i => {
324 if (i.nodes && i.nodes.length && i.last.type === 'decl') {
325 value = i.raws.semicolon
326 if (typeof value !== 'undefined') return false
327 }
328 })
329 return value
330 }
331
332 rawValue(node, prop) {
333 let value = node[prop]

Callers

nothing calls this directly

Calls 1

walkMethod · 0.80

Tested by

no test coverage detected