Debian Codegraph @

tests/languages/autohotkey/issue2911.test

raw
1 A.invert({1:"a", 2:"A"})
2 ; => {"a":2}
3
4 NormalLabel:
5 ; do something
6 return
7 TabbedLabel:
8 ; do something
9 return
10 Sus{}//[]Label:
11 ; do something
12 return
13
14 ----------------------------------------------------
15
16 [
17 "A",
18 ["operator", "."],
19 ["function", "invert"],
20 ["punctuation", "("],
21 ["punctuation", "{"],
22 ["number", "1"],
23 ["punctuation", ":"],
24 ["string", "\"a\""],
25 ["punctuation", ","],
26 ["number", "2"],
27 ["punctuation", ":"],
28 ["string", "\"A\""],
29 ["punctuation", "}"],
30 ["punctuation", ")"],
31
32 ["comment", "; => {\"a\":2}"],
33
34 ["tag", "NormalLabel"], ["punctuation", ":"],
35 ["comment", "; do something"],
36 ["command", "return"],
37 ["tag", "TabbedLabel"], ["punctuation", ":"],
38 ["comment", "; do something"],
39 ["command", "return"],
40 ["tag", "Sus{}//[]Label"], ["punctuation", ":"],
41 ["comment", "; do something"],
42 ["command", "return"]
43 ]