MCPcopy
hub / github.com/loggerhead/json4u / node

Method node

src/lib/parser/tree.ts:99–101  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

97 }
98
99 node(id: string) {
100 return this.nodeMap[id];
101 }
102
103 getNodeToken(node: Node) {
104 return this.text.slice(node.offset, node.offset + node.length);

Callers 12

rootMethod · 0.95
ItemFunction · 0.80
jsonPathFunction · 0.80
setNodeSelectionMethod · 0.80
applyTreeEditsMethod · 0.80
computeRevealPositionFunction · 0.80
JsonPathFunction · 0.80
Node.tsxFile · 0.80
Toolbar.tsxFile · 0.80
KV.tsxFile · 0.80
expectOffsetAndTextFunction · 0.80
parse.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 1

expectOffsetAndTextFunction · 0.64