Debian Codegraph @

tests/snippets/rust/test_func.txt

raw
1 ---input---
2 fn func(x: u32) -> None {}
3
4 ---tokens---
5 'fn' Keyword
6 ' ' Text.Whitespace
7 'func' Name.Function
8 '(' Punctuation
9 'x' Name
10 ':' Punctuation
11 ' ' Text.Whitespace
12 'u32' Keyword.Type
13 ')' Punctuation
14 ' ' Text.Whitespace
15 '->' Punctuation
16 ' ' Text.Whitespace
17 'None' Name.Builtin
18 ' ' Text.Whitespace
19 '{' Punctuation
20 '}' Punctuation
21 '\n' Text.Whitespace