()
| 822 | } |
| 823 | |
| 824 | function unicodeEscape () { |
| 825 | let buffer = '' |
| 826 | let count = 4 |
| 827 | |
| 828 | while (count-- > 0) { |
| 829 | const c = peek() |
| 830 | if (!util.isHexDigit(c)) { |
| 831 | throw invalidChar(read()) |
| 832 | } |
| 833 | |
| 834 | buffer += read() |
| 835 | } |
| 836 | |
| 837 | return String.fromCodePoint(parseInt(buffer, 16)) |
| 838 | } |
| 839 | |
| 840 | const parseStates = { |
| 841 | start () { |
no test coverage detected
searching dependent graphs…