MCPcopy
hub / github.com/postcss/postcss / removeAll

Method removeAll

lib/container.js:262–269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

260 }
261
262 removeAll() {
263 for (let node of this.proxyOf.nodes) node.parent = undefined
264 this.proxyOf.nodes = []
265
266 this.markDirty()
267
268 return this
269 }
270
271 removeChild(child) {
272 child = this.index(child)

Callers 2

DeclarationFunction · 0.80
container.test.tsFile · 0.80

Calls 1

markDirtyMethod · 0.80

Tested by 1

DeclarationFunction · 0.64