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