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

Function getLastResult

test/fixtures/snapshot/typescript.js:78981–78983  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

78979 state.typeStack[state.stackIndex] = type;
78980 }
78981 function getLastResult(state) {
78982 return state.typeStack[state.stackIndex + 1];
78983 }
78984 function setLastResult(state, type) {
78985 // To reduce overhead, reuse the next stack entry to store the
78986 // last result. This avoids the overhead of an additional property

Callers 2

onOperatorFunction · 0.85
onExitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected