mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-13 23:12:24 +00:00
22 lines
512 B
Plaintext
22 lines
512 B
Plaintext
---input---
|
|
fn func(x: u32) -> None {}
|
|
|
|
---tokens---
|
|
'fn' Keyword
|
|
' ' Text.Whitespace
|
|
'func' Name.Function
|
|
'(' Punctuation
|
|
'x' Name
|
|
':' Punctuation
|
|
' ' Text.Whitespace
|
|
'u32' Keyword.Type
|
|
')' Punctuation
|
|
' ' Text.Whitespace
|
|
'->' Punctuation
|
|
' ' Text.Whitespace
|
|
'None' Name.Builtin
|
|
' ' Text.Whitespace
|
|
'{' Punctuation
|
|
'}' Punctuation
|
|
'\n' Text.Whitespace
|