| 145 | } |
| 146 | |
| 147 | visitExpansionCase(icuCase: html.ExpansionCase, context: any): any { |
| 148 | // Parse cases for translatable html attributes |
| 149 | const expression = html.visitAll(this, icuCase.expression, context); |
| 150 | |
| 151 | if (this._mode === _VisitorMode.Merge) { |
| 152 | return new html.ExpansionCase( |
| 153 | icuCase.value, |
| 154 | expression, |
| 155 | icuCase.sourceSpan, |
| 156 | icuCase.valueSourceSpan, |
| 157 | icuCase.expSourceSpan, |
| 158 | ); |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | visitExpansion(icu: html.Expansion, context: any): html.Expansion { |
| 163 | this._mayBeAddBlockChildren(icu); |