MCPcopy
hub / github.com/postcss/postcss / walkComments

Method walkComments

lib/container.js:350–356  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

348 }
349
350 walkComments(callback) {
351 return this.walk((child, i) => {
352 if (child.type === 'comment') {
353 return callback(child, i)
354 }
355 })
356 }
357
358 walkDecls(prop, callback) {
359 if (!callback) {

Callers 2

rawBeforeCommentMethod · 0.80
container.test.tsFile · 0.80

Calls 1

walkMethod · 0.95

Tested by

no test coverage detected