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

Method resolveOp

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

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

(opIndex: number)

Source from the content-addressed store, hash-verified

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

Callers 1

resolveLocalMethod · 0.95

Calls 1

executeOpMethod · 0.95

Tested by

no test coverage detected