tartrazine/spec/tests/rust/test_func.txt

22 lines
512 B
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---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