(start: CharacterCursor)
| 757 | } |
| 758 | |
| 759 | private _consumeComment(start: CharacterCursor) { |
| 760 | this._beginToken(TokenType.COMMENT_START, start); |
| 761 | this._requireCharCode(chars.$MINUS); |
| 762 | this._endToken([]); |
| 763 | this._consumeRawText(false, () => this._attemptStr('-->')); |
| 764 | this._beginToken(TokenType.COMMENT_END); |
| 765 | this._requireStr('-->'); |
| 766 | this._endToken([]); |
| 767 | } |
| 768 | |
| 769 | private _consumeCdata(start: CharacterCursor) { |
| 770 | this._beginToken(TokenType.CDATA_START, start); |
no test coverage detected