Debian Codegraph @

tests/snippets/cython/test_enums.txt

raw
1 ---input---
2 cdef enum CheeseType:
3 cheddar, edam,
4 camembert
5
6 cdef enum CheeseState:
7 hard = 1
8 soft = 2
9 runny = 3
10
11 ---tokens---
12 'cdef' Keyword
13 ' ' Text.Whitespace
14 'enum' Keyword
15 ' ' Text.Whitespace
16 'CheeseType' Name.Class
17 ':' Punctuation
18 '\n' Text.Whitespace
19
20 ' ' Text
21 'cheddar' Name
22 ',' Punctuation
23 ' ' Text
24 'edam' Name
25 ',' Punctuation
26 '\n' Text.Whitespace
27
28 ' ' Text
29 'camembert' Name
30 '\n' Text.Whitespace
31
32 '\n' Text.Whitespace
33
34 'cdef' Keyword
35 ' ' Text.Whitespace
36 'enum' Keyword
37 ' ' Text.Whitespace
38 'CheeseState' Name.Class
39 ':' Punctuation
40 '\n' Text.Whitespace
41
42 ' ' Text
43 'hard' Name
44 ' ' Text
45 '=' Operator
46 ' ' Text
47 '1' Literal.Number.Float
48 '\n' Text.Whitespace
49
50 ' ' Text
51 'soft' Name
52 ' ' Text
53 '=' Operator
54 ' ' Text
55 '2' Literal.Number.Float
56 '\n' Text.Whitespace
57
58 ' ' Text
59 'runny' Name
60 ' ' Text
61 '=' Operator
62 ' ' Text
63 '3' Literal.Number.Float
64 '\n' Text.Whitespace