tartrazine/tests/javascript/test_hexadecimal_literal_positive_matches.txt

20 lines
435 B
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---input---
// Test literals that should be tokenized as hexadecimal literals.
0x01
0Xefn
0x0EF
---tokens---
'' Text
'// Test literals that should be tokenized as hexadecimal literals.' Comment.Single
'\n' Text.Whitespace
'0x01' Literal.Number.Hex
'\n' Text.Whitespace
'0Xefn' Literal.Number.Hex
'\n' Text.Whitespace
'0x0EF' Literal.Number.Hex
'\n' Text.Whitespace