MCPcopy Index your code
hub / github.com/nodejs/node / setPos

Function setPos

test/fixtures/snapshot/typescript.js:148726–148729  ·  view source on GitHub ↗
(n, pos)

Source from the content-addressed store, hash-verified

148724 return result;
148725 }
148726 function setPos(n, pos) {
148727 ts.Debug.assert(typeof pos === "number");
148728 n.__pos = pos;
148729 }
148730 function getEnd(n) {
148731 var result = n.__end;
148732 ts.Debug.assert(typeof result === "number");

Callers 3

onBeforeEmitNodeFunction · 0.85
onBeforeEmitNodeArrayFunction · 0.85
onBeforeEmitTokenFunction · 0.85

Calls 1

assertMethod · 0.80

Tested by

no test coverage detected