MCPcopy
hub / github.com/prettier/prettier / removeChild

Method removeChild

src/language-html/parse/ast.js:114–117  ·  view source on GitHub ↗

* @param {Node} [child]

(child)

Source from the content-addressed store, hash-verified

112 * @param {Node} [child]
113 */
114 removeChild(child) {
115 const children = this.$children;
116 children.splice(children.indexOf(child), 1);
117 }
118
119 /**
120 * @param {Node} [target]

Callers 7

removeIgnorableFirstLfFunction · 0.80
mergeNodeIntoTextFunction · 0.80
extractInterpolationFunction · 0.80
extractWhitespacesFunction · 0.80
loadScriptFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected