MCPcopy Create free account
hub / github.com/angular/angular / resolveOp

Method resolveOp

packages/compiler/src/typecheck/ops/scope.ts:431–437  ·  view source on GitHub ↗

* Like `executeOp`, but assert that the operation actually returned `TcbExpr`.

(opIndex: number)

Source from the content-addressed store, hash-verified

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`.

Callers 1

resolveLocalMethod · 0.95

Calls 1

executeOpMethod · 0.95

Tested by

no test coverage detected