Debian Codegraph @

tests/languages/wren/function_feature.test

raw
1 foo()
2
3 foo {|x| x * 2}
4
5 ----------------------------------------------------
6
7 [
8 ["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
9
10 ["function", "foo"],
11 ["punctuation", "{"],
12 ["operator", "|"],
13 "x",
14 ["operator", "|"],
15 " x ",
16 ["operator", "*"],
17 ["number", "2"],
18 ["punctuation", "}"]
19 ]