()
| 242 | } |
| 243 | |
| 244 | private consumeAHashToken(): InputTokenObject { |
| 245 | this.nextInputCodePointIndex++; |
| 246 | const hashName = this.consumeAName(); |
| 247 | if (hashName) { |
| 248 | return { type: TokenObjectType.hash, text: '#' + hashName.text }; |
| 249 | } |
| 250 | this.nextInputCodePointIndex--; |
| 251 | |
| 252 | return null; |
| 253 | } |
| 254 | |
| 255 | private consumeCDO(): '<!--' | null { |
| 256 | if (this.text.substr(this.nextInputCodePointIndex, 4) === '<!--') { |
no test coverage detected