MCPcopy Create free account
hub / github.com/denoland/std / addNode

Function addNode

xml/_parse_sync.ts:803–807  ·  view source on GitHub ↗
(node: XmlTextNode | XmlCDataNode | XmlCommentNode)

Source from the content-addressed store, hash-verified

801 }
802
803 function addNode(node: XmlTextNode | XmlCDataNode | XmlCommentNode): void {
804 if (stack.length > 0) {
805 stack[stack.length - 1]!.children.push(node);
806 }
807 }
808
809 // ===========================================================================
810 // MAIN PARSING LOOP

Callers 1

parseSyncFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected