(c: number)
| 332 | } |
| 333 | |
| 334 | private stateText(c: number): void { |
| 335 | if (c === CharCodes.Lt) { |
| 336 | if (this.index > this.sectionStart) { |
| 337 | this.cbs.ontext(this.sectionStart, this.index) |
| 338 | } |
| 339 | this.state = State.BeforeTagName |
| 340 | this.sectionStart = this.index |
| 341 | } else if (!__BROWSER__ && c === CharCodes.Amp) { |
| 342 | this.startEntity() |
| 343 | } else if (!this.inVPre && c === this.delimiterOpen[0]) { |
| 344 | this.state = State.InterpolationOpen |
| 345 | this.delimiterIndex = 0 |
| 346 | this.stateInterpolationOpen(c) |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | public delimiterOpen: Uint8Array = defaultDelimitersOpen |
| 351 | public delimiterClose: Uint8Array = defaultDelimitersClose |
no test coverage detected