@@ -33,77 +33,77 @@ describe('Debug utilities', () => {
33
33
| Mapping: Template
34
34
| hbs(0:50): hbs\`\\\\n <HelperComponent @foo={{this.bar}} />\\\\n \`
35
35
| ts(0:277): (() => {\\\\n hbs;\\\\n let χ!: typeof import(\\"@glint/environment-glimmerx/types\\");\\\\n return χ.template(function(𝚪: import(\\"@glint/environment-glimmerx/types\\").ResolveContext<MyComponent>) {\\\\n χ.invokeBlock(χ.resolve(HelperComponent)({ foo: 𝚪.this.bar }), {});\\\\n 𝚪;\\\\n });\\\\n})()
36
- |
36
+ |
37
37
| | Mapping: Identifier
38
- | | hbs(0:0):
38
+ | | hbs(0:0):
39
39
| | ts(170:181): MyComponent
40
- | |
40
+ | |
41
41
| | Mapping: ElementNode
42
42
| | hbs(9:46): <HelperComponent @foo={{this.bar}} />
43
43
| | ts(186:259): χ.invokeBlock(χ.resolve(HelperComponent)({ foo: 𝚪.this.bar }), {});
44
- | |
44
+ | |
45
45
| | | Mapping: ElementNode
46
46
| | | hbs(9:46): <HelperComponent @foo={{this.bar}} />
47
47
| | | ts(186:259): χ.invokeBlock(χ.resolve(HelperComponent)({ foo: 𝚪.this.bar }), {});
48
- | | |
48
+ | | |
49
49
| | | | Mapping: Identifier
50
50
| | | | hbs(10:25): HelperComponent
51
51
| | | | ts(214:229): HelperComponent
52
- | | | |
52
+ | | | |
53
53
| | | | Mapping: AttrNode
54
54
| | | | hbs(26:43): @foo={{this.bar}}
55
55
| | | | ts(233:249): foo: 𝚪.this.bar
56
- | | | |
56
+ | | | |
57
57
| | | | | Mapping: Identifier
58
58
| | | | | hbs(27:30): foo
59
59
| | | | | ts(233:236): foo
60
- | | | | |
60
+ | | | | |
61
61
| | | | | Mapping: MustacheStatement
62
62
| | | | | hbs(31:43): {{this.bar}}
63
63
| | | | | ts(238:249): 𝚪.this.bar
64
- | | | | |
64
+ | | | | |
65
65
| | | | | | Mapping: PathExpression
66
66
| | | | | | hbs(33:41): this.bar
67
67
| | | | | | ts(238:249): 𝚪.this.bar
68
- | | | | | |
68
+ | | | | | |
69
69
| | | | | | | Mapping: Identifier
70
70
| | | | | | | hbs(33:37): this
71
71
| | | | | | | ts(241:245): this
72
- | | | | | | |
72
+ | | | | | | |
73
73
| | | | | | | Mapping: Identifier
74
74
| | | | | | | hbs(38:41): bar
75
75
| | | | | | | ts(246:249): bar
76
- | | | | | | |
77
- | | | | | |
78
- | | | | |
79
- | | | |
80
- | | |
81
- | |
82
- |
76
+ | | | | | | |
77
+ | | | | | |
78
+ | | | | |
79
+ | | | |
80
+ | | |
81
+ | |
82
+ |
83
83
84
84
| Mapping: Template
85
85
| hbs(0:28): hbs\`\\\\n Hello, {{@foo}}\\\\n \`
86
86
| ts(0:262): (() => {\\\\n hbs;\\\\n let χ!: typeof import(\\"@glint/environment-glimmerx/types\\");\\\\n return χ.template(function(𝚪: import(\\"@glint/environment-glimmerx/types\\").ResolveContext<HelperComponent>) {\\\\n χ.invokeEmit(χ.resolveOrReturn(𝚪.args.foo)({}));\\\\n 𝚪;\\\\n });\\\\n})()
87
- |
87
+ |
88
88
| | Mapping: Identifier
89
- | | hbs(0:0):
89
+ | | hbs(0:0):
90
90
| | ts(170:185): HelperComponent
91
- | |
91
+ | |
92
92
| | Mapping: MustacheStatement
93
93
| | hbs(16:24): {{@foo}}
94
94
| | ts(190:242): χ.invokeEmit(χ.resolveOrReturn(𝚪.args.foo)({}))
95
- | |
95
+ | |
96
96
| | | Mapping: PathExpression
97
97
| | | hbs(18:22): @foo
98
98
| | | ts(225:236): 𝚪.args.foo
99
- | | |
99
+ | | |
100
100
| | | | Mapping: Identifier
101
101
| | | | hbs(19:22): foo
102
102
| | | | ts(233:236): foo
103
- | | | |
104
- | | |
105
- | |
106
- | "
103
+ | | | |
104
+ | | |
105
+ | |
106
+ |"
107
107
` ) ;
108
108
} ) ;
109
109
} ) ;
0 commit comments