MCPcopy
hub / github.com/postcss/postcss / emptyRule

Method emptyRule

lib/parser.js:315–321  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

313 }
314
315 emptyRule(token) {
316 let node = new Rule()
317 this.init(node, token[2])
318 node.selector = ''
319 node.raws.between = ''
320 this.current = node
321 }
322
323 end(token) {
324 if (this.current.nodes && this.current.nodes.length) {

Callers 1

parseMethod · 0.95

Calls 1

initMethod · 0.95

Tested by

no test coverage detected