MCPcopy Create free account
hub / github.com/nodejs/node / maybeCheckExpression

Function maybeCheckExpression

test/fixtures/snapshot/typescript.js:78969–78974  ·  view source on GitHub ↗
(state, node)

Source from the content-addressed store, hash-verified

78967 return state;
78968 }
78969 function maybeCheckExpression(state, node) {
78970 if (ts.isBinaryExpression(node)) {
78971 return node;
78972 }
78973 setLastResult(state, checkExpression(node, state.checkMode));
78974 }
78975 function getLeftType(state) {
78976 return state.typeStack[state.stackIndex];
78977 }

Callers 2

onLeftFunction · 0.85
onRightFunction · 0.85

Calls 2

setLastResultFunction · 0.85
checkExpressionFunction · 0.70

Tested by

no test coverage detected