MCPcopy
hub / github.com/postcss/postcss / cloneBefore

Method cloneBefore

lib/node.js:140–144  ·  view source on GitHub ↗
(overrides = {})

Source from the content-addressed store, hash-verified

138 }
139
140 cloneBefore(overrides = {}) {
141 let cloned = this.clone(overrides)
142 this.parent.insertBefore(this, cloned)
143 return cloned
144 }
145
146 error(message, opts = {}) {
147 if (this.source) {

Callers 2

DeclarationFunction · 0.80
node.test.tsFile · 0.80

Calls 2

cloneMethod · 0.95
insertBeforeMethod · 0.80

Tested by 1

DeclarationFunction · 0.64