Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/postcss/postcss
/ remove
Method
remove
lib/node.js:344–350 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
342
}
343
344
remove() {
345
if
(this.parent) {
346
this.parent.removeChild(this)
347
}
348
this.parent = undefined
349
return
this
350
}
351
352
replaceWith(...nodes) {
353
if
(this.parent) {
Callers
10
replaceWith
Method · 0.95
root.test.ts
File · 0.80
postcss.test.ts
File · 0.80
Declaration
Function · 0.80
Once
Function · 0.80
prepare
Function · 0.80
Rule
Function · 0.80
OnceExit
Function · 0.80
node.test.ts
File · 0.80
fromJSON.test.ts
File · 0.80
Calls
1
removeChild
Method · 0.45
Tested by
5
Declaration
Function · 0.64
Once
Function · 0.64
prepare
Function · 0.64
Rule
Function · 0.64
OnceExit
Function · 0.64