mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-13 23:12:24 +00:00
35 lines
592 B
Plaintext
35 lines
592 B
Plaintext
---input---
|
|
1.
|
|
1.e1
|
|
.1
|
|
1.2
|
|
1.2e3
|
|
1.2e+3
|
|
1.2e-3
|
|
1e2
|
|
|
|
---tokens---
|
|
'1.' Literal.Number.Float
|
|
'\n' Text.Whitespace
|
|
|
|
'1.e1' Literal.Number.Float
|
|
'\n' Text.Whitespace
|
|
|
|
'.1' Literal.Number.Float
|
|
'\n' Text.Whitespace
|
|
|
|
'1.2' Literal.Number.Float
|
|
'\n' Text.Whitespace
|
|
|
|
'1.2e3' Literal.Number.Float
|
|
'\n' Text.Whitespace
|
|
|
|
'1.2e+3' Literal.Number.Float
|
|
'\n' Text.Whitespace
|
|
|
|
'1.2e-3' Literal.Number.Float
|
|
'\n' Text.Whitespace
|
|
|
|
'1e2' Literal.Number.Float
|
|
'\n' Text.Whitespace
|