()
| 263 | } |
| 264 | |
| 265 | nextJSXToken(): RawJSXToken { |
| 266 | this.collectComments(); |
| 267 | |
| 268 | this.startMarker.index = this.scanner.index; |
| 269 | this.startMarker.line = this.scanner.lineNumber; |
| 270 | this.startMarker.column = this.scanner.index - this.scanner.lineStart; |
| 271 | const token = this.lexJSX(); |
| 272 | this.lastMarker.index = this.scanner.index; |
| 273 | this.lastMarker.line = this.scanner.lineNumber; |
| 274 | this.lastMarker.column = this.scanner.index - this.scanner.lineStart; |
| 275 | |
| 276 | if (this.config.tokens) { |
| 277 | this.tokens.push(this.convertToken(token as any)); |
| 278 | } |
| 279 | |
| 280 | return token; |
| 281 | } |
| 282 | |
| 283 | nextJSXText(): RawJSXToken { |
| 284 | this.startMarker.index = this.scanner.index; |
no test coverage detected