tests/snippets/javascript/test_hexadecimal_literal_positive_matches.txt
raw| 1 | ---input--- |
| 2 | // Test literals that should be tokenized as hexadecimal literals. |
| 3 | 0x01 |
| 4 | 0Xefn |
| 5 | 0x0EF |
| 6 | |
| 7 | ---tokens--- |
| 8 | '' Text |
| 9 | '// Test literals that should be tokenized as hexadecimal literals.' Comment.Single |
| 10 | '\n' Text.Whitespace |
| 11 | |
| 12 | '0x01' Literal.Number.Hex |
| 13 | '\n' Text.Whitespace |
| 14 | |
| 15 | '0Xefn' Literal.Number.Hex |
| 16 | '\n' Text.Whitespace |
| 17 | |
| 18 | '0x0EF' Literal.Number.Hex |
| 19 | '\n' Text.Whitespace |