This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/usd/test_numbers.txt
Georg Brandl b40b0cca06 Rename "tests/lexers" to "tests/snippets" and update the contribution
docs to point to both snippets and examplefiles.
2021-01-20 10:57:30 +01:00

21 lines
585 B
Text

---input---
8 8.0123312132, -4 -14.123 1e10 0.1e10 10.123e+10 0.123e-14
---tokens---
'8' Literal.Number
' ' Text.Whitespace
'8.0123312132' Literal.Number
',' Punctuation
' ' Text.Whitespace
'-4' Literal.Number
' ' Text.Whitespace
'-14.123' Literal.Number
' ' Text.Whitespace
'1e10' Literal.Number
' ' Text.Whitespace
'0.1e10' Literal.Number
' ' Text.Whitespace
'10.123e+10' Literal.Number
' ' Text.Whitespace
'0.123e-14' Literal.Number
'\n' Text.Whitespace