()
| 1401 | } |
| 1402 | |
| 1403 | private _isTextEnd(): boolean { |
| 1404 | if (this._isTagStart() || this._cursor.peek() === chars.$EOF) { |
| 1405 | return true; |
| 1406 | } |
| 1407 | |
| 1408 | if (this._tokenizeIcu && !this._inInterpolation) { |
| 1409 | if (this.isExpansionFormStart()) { |
| 1410 | // start of an expansion form |
| 1411 | return true; |
| 1412 | } |
| 1413 | |
| 1414 | if (this._cursor.peek() === chars.$RBRACE && this._isInExpansionCase()) { |
| 1415 | // end of and expansion case |
| 1416 | return true; |
| 1417 | } |
| 1418 | } |
| 1419 | |
| 1420 | if ( |
| 1421 | this._tokenizeBlocks && |
| 1422 | !this._inInterpolation && |
| 1423 | !this._isInExpansion() && |
| 1424 | (this._isBlockStart() || this._isLetStart() || this._cursor.peek() === chars.$RBRACE) |
| 1425 | ) { |
| 1426 | return true; |
| 1427 | } |
| 1428 | |
| 1429 | return false; |
| 1430 | } |
| 1431 | |
| 1432 | /** |
| 1433 | * Returns true if the current cursor is pointing to the start of a tag |
no test coverage detected