MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / unmarshalRange

Function unmarshalRange

website/public/wasm/web-tree-sitter.js:1254–1264  ·  view source on GitHub ↗
(address)

Source from the content-addressed store, hash-verified

1252}
1253__name(marshalRange, "marshalRange");
1254function unmarshalRange(address) {
1255 const result = {};
1256 result.startPosition = unmarshalPoint(address);
1257 address += SIZE_OF_POINT;
1258 result.endPosition = unmarshalPoint(address);
1259 address += SIZE_OF_POINT;
1260 result.startIndex = C.getValue(address, "i32") >>> 0;
1261 address += SIZE_OF_INT;
1262 result.endIndex = C.getValue(address, "i32") >>> 0;
1263 return result;
1264}
1265__name(unmarshalRange, "unmarshalRange");
1266function marshalEdit(edit, address = TRANSFER_BUFFER) {
1267 marshalPoint(address, edit.startPosition);

Callers 4

getChangedRangesMethod · 0.85
getChangedRangesMethod · 0.85
getIncludedRangesMethod · 0.85
getIncludedRangesMethod · 0.85

Calls 2

unmarshalPointFunction · 0.85
getValueMethod · 0.45

Tested by

no test coverage detected