MCPcopy
hub / github.com/postcss/postcss / push

Method push

lib/container.js:256–260  ·  view source on GitHub ↗
(child)

Source from the content-addressed store, hash-verified

254 }
255
256 push(child) {
257 child.parent = this
258 this.proxyOf.nodes.push(child)
259 return this
260 }
261
262 removeAll() {
263 for (let node of this.proxyOf.nodes) node.parent = undefined

Callers 15

splitFunction · 0.80
nextTokenFunction · 0.80
backFunction · 0.80
atruleMethod · 0.80
initMethod · 0.80
otherMethod · 0.80
fromJSONFunction · 0.80
normalizeMethod · 0.80
appendMethod · 0.80
warnMethod · 0.80
previousMethod · 0.80
addMethod · 0.80

Calls

no outgoing calls

Tested by 15

AtRuleFunction · 0.64
AtRuleExitFunction · 0.64
CommentFunction · 0.64
CommentExitFunction · 0.64
DeclarationFunction · 0.64
DeclarationExitFunction · 0.64
DocumentFunction · 0.64
DocumentExitFunction · 0.64
OnceFunction · 0.64
OnceExitFunction · 0.64
RootFunction · 0.64
RootExitFunction · 0.64