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

Method setParent

tools/common/_hyperscript.iife.js:1286–1295  ·  view source on GitHub ↗
(elt, parent)

Source from the content-addressed store, hash-verified

1284 return this.#kernel.featureStart(token);
1285 }
1286 setParent(elt, parent) {
1287 if (typeof elt === "object") {
1288 elt.parent = parent;
1289 if (typeof parent === "object") {
1290 parent.children = parent.children || /* @__PURE__ */ new Set();
1291 parent.children.add(elt);
1292 }
1293 this.setParent(elt.next, parent);
1294 }
1295 }
1296 parseURLOrExpression() {
1297 var cur = this.currentToken();
1298 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