()
| 1368 | } |
| 1369 | |
| 1370 | private _isTextEnd(): boolean { |
| 1371 | if (this._isTagStart() || this._cursor.peek() === chars.$EOF) { |
| 1372 | return true; |
| 1373 | } |
| 1374 | |
| 1375 | if (this._tokenizeIcu && !this._inInterpolation) { |
| 1376 | if (this.isExpansionFormStart()) { |
| 1377 | // start of an expansion form |
| 1378 | return true; |
| 1379 | } |
| 1380 | |
| 1381 | if (this._cursor.peek() === chars.$RBRACE && this._isInExpansionCase()) { |
| 1382 | // end of and expansion case |
| 1383 | return true; |
| 1384 | } |
| 1385 | } |
| 1386 | |
| 1387 | if ( |
| 1388 | this._tokenizeBlocks && |
| 1389 | !this._inInterpolation && |
| 1390 | !this._isInExpansion() && |
| 1391 | (this._isBlockStart() || this._isLetStart() || this._cursor.peek() === chars.$RBRACE) |
| 1392 | ) { |
| 1393 | return true; |
| 1394 | } |
| 1395 | |
| 1396 | return false; |
| 1397 | } |
| 1398 | |
| 1399 | /** |
| 1400 | * Returns true if the current cursor is pointing to the start of a tag |
no test coverage detected