MCPcopy Index your code
hub / github.com/CodeGraphContext/CodeGraphContext / marshalRange

Function marshalRange

website/public/wasm/web-tree-sitter.js:1243–1252  ·  view source on GitHub ↗
(address, range)

Source from the content-addressed store, hash-verified

1241}
1242__name(unmarshalPoint, "unmarshalPoint");
1243function marshalRange(address, range) {
1244 marshalPoint(address, range.startPosition);
1245 address += SIZE_OF_POINT;
1246 marshalPoint(address, range.endPosition);
1247 address += SIZE_OF_POINT;
1248 C.setValue(address, range.startIndex, "i32");
1249 address += SIZE_OF_INT;
1250 C.setValue(address, range.endIndex, "i32");
1251 address += SIZE_OF_INT;
1252}
1253__name(marshalRange, "marshalRange");
1254function unmarshalRange(address) {
1255 const result = {};

Callers 2

parseMethod · 0.85
parseMethod · 0.85

Calls 2

marshalPointFunction · 0.85
setValueMethod · 0.80

Tested by

no test coverage detected