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

Method setParent

src/core/parser.js:293–302  ·  view source on GitHub ↗
(elt, parent)

Source from the content-addressed store, hash-verified

291 }
292
293 setParent(elt, parent) {
294 if (typeof elt === 'object') {
295 elt.parent = parent;
296 if (typeof parent === 'object') {
297 parent.children = (parent.children || new Set());
298 parent.children.add(elt)
299 }
300 this.setParent(elt.next, parent);
301 }
302 }
303
304 parseURLOrExpression() {
305 var cur = this.currentToken();

Callers 10

parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseRepeatExpressionMethod · 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