(state, type)
| 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 |
| 78987 | // on `WorkArea` and reuses empty stack entries as we walk back up |
| 78988 | // the stack. |
| 78989 | state.typeStack[state.stackIndex + 1] = type; |
| 78990 | } |
| 78991 | } |
| 78992 | function checkGrammarNullishCoalesceWithLogicalExpression(node) { |
| 78993 | var left = node.left, operatorToken = node.operatorToken, right = node.right; |
no outgoing calls
no test coverage detected