(error)
| 121 | } |
| 122 | |
| 123 | function throwParseError(error) { |
| 124 | const { |
| 125 | msg, |
| 126 | span: { start, end }, |
| 127 | } = error; |
| 128 | throw createError(msg, { |
| 129 | loc: { |
| 130 | start: { line: start.line + 1, column: start.col + 1 }, |
| 131 | end: { line: end.line + 1, column: end.col + 1 }, |
| 132 | }, |
| 133 | cause: error, |
| 134 | }); |
| 135 | } |
| 136 | |
| 137 | function parseSubHtml( |
| 138 | parser, |
no test coverage detected