| 1 |
---input--- |
| 2 |
cdef struct Eggs: |
| 3 |
size_t count |
| 4 |
|
| 5 |
cdef packed struct DataStructure: |
| 6 |
ssize_t length |
| 7 |
int[4] data |
| 8 |
|
| 9 |
---tokens--- |
| 10 |
'cdef' Keyword |
| 11 |
' ' Text.Whitespace |
| 12 |
'struct' Keyword |
| 13 |
' ' Text.Whitespace |
| 14 |
'Eggs' Name.Class |
| 15 |
':' Punctuation |
| 16 |
'\n' Text.Whitespace |
| 17 |
|
| 18 |
' ' Text |
| 19 |
'size_t' Name.Builtin |
| 20 |
' ' Text |
| 21 |
'count' Name |
| 22 |
'\n' Text.Whitespace |
| 23 |
|
| 24 |
'\n' Text.Whitespace |
| 25 |
|
| 26 |
'cdef' Keyword |
| 27 |
' ' Text.Whitespace |
| 28 |
'packed' Keyword.Reserved |
| 29 |
' ' Text |
| 30 |
'struct' Keyword |
| 31 |
' ' Text.Whitespace |
| 32 |
'DataStructure' Name.Class |
| 33 |
':' Punctuation |
| 34 |
'\n' Text.Whitespace |
| 35 |
|
| 36 |
' ' Text |
| 37 |
'ssize_t' Name.Builtin |
| 38 |
' ' Text |
| 39 |
'length' Name |
| 40 |
'\n' Text.Whitespace |
| 41 |
|
| 42 |
' ' Text |
| 43 |
'int' Name.Builtin |
| 44 |
'[' Punctuation |
| 45 |
'4' Literal.Number.Float |
| 46 |
']' Punctuation |
| 47 |
' ' Text |
| 48 |
'data' Name |
| 49 |
'\n' Text.Whitespace |