MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / setParent

Method setParent

www/js/_hyperscript.js:1296–1305  ·  view source on GitHub ↗
(elt, parent)

Source from the content-addressed store, hash-verified

1294 return this.#kernel.featureStart(token);
1295 }
1296 setParent(elt, parent) {
1297 if (typeof elt === "object") {
1298 elt.parent = parent;
1299 if (typeof parent === "object") {
1300 parent.children = parent.children || /* @__PURE__ */ new Set();
1301 parent.children.add(elt);
1302 }
1303 this.setParent(elt.next, parent);
1304 }
1305 }
1306 parseURLOrExpression() {
1307 var cur = this.currentToken();
1308 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