@internal
()
| 1541 | const state = this._boxingState; |
| 1542 | const current = state.currentOperation(); |
| 1543 | if (current === undefined) return true; |
| 1544 | // An operation nested in an operation that is not a program runs in the |
| 1545 | // environment of the enclosing operation: the method that opened the |
| 1546 | // operation, called again in it, and every operation of library code. |
| 1547 | if (!current.isProgram) return false; |
| 1548 | // In the environment of a program, an evaluation in the evaluation of a |
| 1549 | // statement by the run driver runs in it. |
| 1550 | return !(evaluation && state.inProgramStatement); |
| 1551 | } |
nothing calls this directly
no test coverage detected