* Like `executeOp`, but assert that the operation actually returned `TcbExpr`.
(opIndex: number)
| 429 | * Like `executeOp`, but assert that the operation actually returned `TcbExpr`. |
| 430 | */ |
| 431 | private resolveOp(opIndex: number): TcbExpr { |
| 432 | const res = this.executeOp(opIndex, /* skipOptional */ false); |
| 433 | if (res === null) { |
| 434 | throw new Error(`Error resolving operation, got null`); |
| 435 | } |
| 436 | return res; |
| 437 | } |
| 438 | |
| 439 | /** |
| 440 | * Execute a particular `TcbOp` in the `opQueue`. |