File: literals.txt

package info (click to toggle)
pygments 2.14.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,496 kB
  • sloc: python: 96,379; javascript: 238; makefile: 191; sh: 80; lisp: 74
file content (41 lines) | stat: -rw-r--r-- 1,177 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---input---
{int: 1, byte: 0b, short: 1s, long: 10000L, float: 10.0f, double: 20.0}

---tokens---
'{'           Punctuation
'int'         Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'1'           Literal.Number.Integer
','           Punctuation
' '           Text.Whitespace
'byte'        Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'0b'          Literal.Number.Integer
','           Punctuation
' '           Text.Whitespace
'short'       Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'1s'          Literal.Number.Integer
','           Punctuation
' '           Text.Whitespace
'long'        Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'10000L'      Literal.Number.Integer
','           Punctuation
' '           Text.Whitespace
'float'       Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'10.0f'       Literal.Number.Float
','           Punctuation
' '           Text.Whitespace
'double'      Name.Attribute
':'           Punctuation
' '           Text.Whitespace
'20.0'        Literal.Number.Float
'}'           Punctuation
'\n'          Text