()
| 273 | } |
| 274 | |
| 275 | private consumeAMatchToken(): '*=' | '$=' | '|=' | '~=' | '^=' | null { |
| 276 | if (this.text[this.nextInputCodePointIndex + 1] === '=') { |
| 277 | const token = this.text.substr(this.nextInputCodePointIndex, 2); |
| 278 | this.nextInputCodePointIndex += 2; |
| 279 | |
| 280 | return <'*=' | '$=' | '|=' | '~=' | '^='>token; |
| 281 | } |
| 282 | |
| 283 | return null; |
| 284 | } |
| 285 | |
| 286 | /** |
| 287 | * 4.3.2. Consume a numeric token |