MCPcopy
hub / github.com/angular/angular / Comp

Class Comp

packages/core/test/acceptance/attach_source_locations_spec.ts:50–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 class Comp {
51 static ɵfac = () => new Comp();
52 static ɵcmp = ɵɵdefineComponent({
53 type: Comp,
54 selectors: [['comp']],
55 decls: 3,
56 vars: 1,
57 template: (rf) => {
58 if (rf & RenderFlags.Create) {
59 ɵɵelementStart(0, 'div')(1, 'span');
60 ɵɵtemplate(2, conditionalTemplate, 2, 0, 'strong');
61 ɵɵelementEnd()();
62 ɵɵattachSourceLocations('test.ts', [
63 [0, 154, 6, 16],
64 [1, 178, 7, 18],
65 ]);
66 }
67 if (rf & 2) {
68 ɵɵadvance(2);
69 ɵɵconditional(true ? 2 : -1);
70 }
71 },
72 encapsulation: 2,
73 });
74 }
75
76 const fixture = TestBed.createComponent(Comp);
77 fixture.detectChanges();

Callers

nothing calls this directly

Calls 8

ɵɵdefineComponentFunction · 0.90
ɵɵelementStartFunction · 0.90
ɵɵtemplateFunction · 0.90
ɵɵelementEndFunction · 0.90
ɵɵadvanceFunction · 0.90
ɵɵconditionalFunction · 0.90
ɵɵelementFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…