mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-13 23:12:24 +00:00
18 lines
397 B
Plaintext
18 lines
397 B
Plaintext
|
---input---
|
||
|
struct X { x: u32 }
|
||
|
|
||
|
---tokens---
|
||
|
'struct' Keyword
|
||
|
' ' Text.Whitespace
|
||
|
'X' Name.Class
|
||
|
' ' Text.Whitespace
|
||
|
'{' Punctuation
|
||
|
' ' Text.Whitespace
|
||
|
'x' Name
|
||
|
':' Punctuation
|
||
|
' ' Text.Whitespace
|
||
|
'u32' Keyword.Type
|
||
|
' ' Text.Whitespace
|
||
|
'}' Punctuation
|
||
|
'\n' Text.Whitespace
|