()
| 1226 | } |
| 1227 | |
| 1228 | private _isTextEnd(): boolean { |
| 1229 | if (this._isTagStart() || this._cursor.peek() === chars.$EOF) { |
| 1230 | return true; |
| 1231 | } |
| 1232 | |
| 1233 | if (this._tokenizeIcu && !this._inInterpolation) { |
| 1234 | if (this.isExpansionFormStart()) { |
| 1235 | // start of an expansion form |
| 1236 | return true; |
| 1237 | } |
| 1238 | |
| 1239 | if (this._cursor.peek() === chars.$RBRACE && this._isInExpansionCase()) { |
| 1240 | // end of and expansion case |
| 1241 | return true; |
| 1242 | } |
| 1243 | } |
| 1244 | |
| 1245 | if ( |
| 1246 | this._tokenizeBlocks && |
| 1247 | !this._inInterpolation && |
| 1248 | !this._isInExpansion() && |
| 1249 | (this._isBlockStart() || this._isLetStart() || this._cursor.peek() === chars.$RBRACE) |
| 1250 | ) { |
| 1251 | return true; |
| 1252 | } |
| 1253 | |
| 1254 | return false; |
| 1255 | } |
| 1256 | |
| 1257 | /** |
| 1258 | * Returns true if the current cursor is pointing to the start of a tag |
no test coverage detected