MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / setParent

Method setParent

www/js/_hyperscript.esm.js:1294–1303  ·  view source on GitHub ↗
(elt, parent)

Source from the content-addressed store, hash-verified

1292 return this.#kernel.featureStart(token);
1293 }
1294 setParent(elt, parent) {
1295 if (typeof elt === "object") {
1296 elt.parent = parent;
1297 if (typeof parent === "object") {
1298 parent.children = parent.children || /* @__PURE__ */ new Set();
1299 parent.children.add(elt);
1300 }
1301 this.setParent(elt.next, parent);
1302 }
1303 }
1304 parseURLOrExpression() {
1305 var cur = this.currentToken();
1306 if (cur.value === "/" && cur.type === "DIVIDE") {

Callers 9

parseMethod · 0.45
parseRepeatExpressionMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected