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