tests/snippets/javascript/test_hexadecimal_literal_negative_matches.txt
raw| 1 | ---input--- |
| 2 | // Test text that should **not** be tokenized as hexadecimal literals. |
| 3 | 0x0N |
| 4 | 0x |
| 5 | 0Xx |
| 6 | 0xg |
| 7 | 0xhn |
| 8 | |
| 9 | ---tokens--- |
| 10 | '' Text |
| 11 | '// Test text that should **not** be tokenized as hexadecimal literals.' Comment.Single |
| 12 | '\n' Text.Whitespace |
| 13 | |
| 14 | '0x0' Literal.Number.Hex |
| 15 | 'N' Name.Other |
| 16 | '\n' Text.Whitespace |
| 17 | |
| 18 | '0' Literal.Number.Float |
| 19 | 'x' Name.Other |
| 20 | '\n' Text.Whitespace |
| 21 | |
| 22 | '0' Literal.Number.Float |
| 23 | 'Xx' Name.Other |
| 24 | '\n' Text.Whitespace |
| 25 | |
| 26 | '0' Literal.Number.Float |
| 27 | 'xg' Name.Other |
| 28 | '\n' Text.Whitespace |
| 29 | |
| 30 | '0' Literal.Number.Float |
| 31 | 'xhn' Name.Other |
| 32 | '\n' Text.Whitespace |