(start: number, code: number)
| 380 | } |
| 381 | |
| 382 | private scanCloseBrace(start: number, code: number): Token { |
| 383 | this.advance(); |
| 384 | |
| 385 | const currentBrace = this.braceStack.pop(); |
| 386 | if (currentBrace === 'interpolation') { |
| 387 | this.tokens.push(newCharacterToken(start, this.index, chars.$RBRACE)); |
| 388 | return this.scanTemplateLiteralPart(this.index); |
| 389 | } |
| 390 | |
| 391 | return newCharacterToken(start, this.index, code); |
| 392 | } |
| 393 | |
| 394 | /** |
| 395 | * Tokenize a 2/3 char long operator |
no test coverage detected