* Handles walking the `operatorToken` of a `BinaryExpression`. * @param machine State machine handler functions * @param frame The current frame * @returns The new frame
(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState)
| 30491 | * @returns The new frame |
| 30492 | */ |
| 30493 | function operator(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) { |
| 30494 | ts.Debug.assertEqual(stateStack[stackIndex], operator); |
| 30495 | ts.Debug.assertIsDefined(machine.onOperator); |
| 30496 | stateStack[stackIndex] = nextState(machine, operator); |
| 30497 | machine.onOperator(nodeStack[stackIndex].operatorToken, userStateStack[stackIndex], nodeStack[stackIndex]); |
| 30498 | return stackIndex; |
| 30499 | } |
| 30500 | BinaryExpressionState.operator = operator; |
| 30501 | /** |
| 30502 | * Handles walking the `right` side of a `BinaryExpression`. |
nothing calls this directly
no test coverage detected