MCPcopy
hub / github.com/angular/angular / toString

Method toString

packages/core/src/di/r3_injector.ts:457–468  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

455 }
456
457 override toString() {
458 if (ngDevMode) {
459 const tokens: string[] = [];
460 const records = this.records;
461 for (const token of records.keys()) {
462 tokens.push(stringify(token));
463 }
464 return `R3Injector[${tokens.join(', ')}]`;
465 }
466
467 return 'R3Injector[...]';
468 }
469
470 /**
471 * Process a `SingleProvider` and add it.

Callers

nothing calls this directly

Calls 4

stringifyFunction · 0.90
keysMethod · 0.65
joinMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected