()
| 23181 | this.stack.push({ current: current2, literal: literal2 }); |
| 23182 | } |
| 23183 | pop() { |
| 23184 | this.literal.quasis.push({ |
| 23185 | type: "TemplateElement", |
| 23186 | value: { raw: this.current.value, cooked: null }, |
| 23187 | tail: true |
| 23188 | }); |
| 23189 | const popped = this.stack.pop(); |
| 23190 | const last = this.stack[this.stack.length - 1]; |
| 23191 | if (last) { |
| 23192 | this.literal = last.literal; |
| 23193 | this.current = last.current; |
| 23194 | } |
| 23195 | return popped.literal; |
| 23196 | } |
| 23197 | render(nodes, options) { |
| 23198 | nodes.forEach((node2) => { |
| 23199 | const handler = handlers$1[node2.type]; |
no test coverage detected