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

Method toString

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

Source from the content-addressed store, hash-verified

460 }
461
462 override toString() {
463 if (ngDevMode) {
464 const tokens: string[] = [];
465 const records = this.records;
466 for (const token of records.keys()) {
467 tokens.push(stringify(token));
468 }
469 return `R3Injector[${tokens.join(', ')}]`;
470 }
471
472 return 'R3Injector[...]';
473 }
474
475 /**
476 * 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