Debian Codegraph @

tests/languages/wgsl/function_feature.test

raw
1 fn my_function() -> bool {
2 my_function();
3 return true;
4 }
5
6 ----------------------------------------------------
7
8 [
9 ["keyword", "fn"],
10 ["functions", "my_function"],
11 ["punctuation", "("],
12 ["punctuation", ")"],
13 ["operator", "->"],
14 ["builtin", "bool"],
15 ["punctuation", "{"],
16
17 ["function-calls", "my_function"],
18 ["punctuation", "("],
19 ["punctuation", ")"],
20 ["punctuation", ";"],
21 ["keyword", "return"],
22 ["bool-literal", "true"],
23 ["punctuation", ";"],
24
25 ["punctuation", "}"]
26 ]