* Like `executeOp`, but assert that the operation actually returned `TcbExpr`.
(opIndex: number)
| 437 | * Like `executeOp`, but assert that the operation actually returned `TcbExpr`. |
| 438 | */ |
| 439 | private resolveOp(opIndex: number): TcbExpr { |
| 440 | const res = this.executeOp(opIndex, /* skipOptional */ false); |
| 441 | if (res === null) { |
| 442 | throw new Error(`Error resolving operation, got null`); |
| 443 | } |
| 444 | return res; |
| 445 | } |
| 446 | |
| 447 | /** |
| 448 | * Execute a particular `TcbOp` in the `opQueue`. |