MCPcopy Index your code
hub / github.com/loggerhead/json4u / computeAndSetBoundLength

Function computeAndSetBoundLength

src/lib/parser/node.ts:68–70  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

66}
67
68export function computeAndSetBoundLength(node: Node) {
69 node.boundLength = node.offset + node.length - (node.boundOffset ?? 0);
70}

Callers 3

stringifyNodeMethod · 0.90
addChildMethod · 0.90
onObjectEndMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected