Debian Codegraph @

runtime/queries/koto/highlights.scm

raw symbols SCIP
1 [
2 "="
3 "+"
4 "-"
5 "*"
6 "/"
7 "%"
8 "^"
9 "+="
10 "-="
11 "*="
12 "/="
13 "%="
14 "^="
15 "=="
16 "!="
17 "<"
18 ">"
19 "<="
20 ">="
21 ".."
22 "..="
23 "->"
24 (null_check)
25 ] @operator
26
27 [
28 "let"
29 ] @keyword
30
31 [
32 "and"
33 "not"
34 "or"
35 ] @keyword.operator
36
37 [
38 "return"
39 "yield"
40 ] @keyword.control.return
41
42 [
43 "if"
44 "then"
45 "else"
46 "else if"
47 "match"
48 "switch"
49 ] @keyword.control.conditional
50
51 [
52 (break)
53 (continue)
54 "for"
55 "in"
56 "loop"
57 "until"
58 "while"
59 ] @keyword.control.repeat
60
61 [
62 "throw"
63 "try"
64 "catch"
65 "finally"
66 ] @keyword.control.exception
67
68 [
69 "export"
70 "from"
71 "import"
72 "as"
73 ] @keyword.control.import
74
75 [
76 "("
77 ")"
78 "["
79 "]"
80 "{"
81 "}"
82 "|"
83 ] @punctuation.bracket
84
85 (string (interpolation ["{" "}"] @punctuation.special))
86
87 [
88 ";"
89 ":"
90 ","
91 ] @punctuation.delimiter
92
93 (identifier) @variable
94
95 (import_module
96 (identifier) @namespace)
97
98 (import_item
99 (identifier) @namespace)
100
101 (export
102 (identifier) @namespace)
103
104 (chain
105 start: (identifier) @function)
106
107 (chain
108 (lookup (identifier)) @variable.other.member)
109
110 (call
111 function: (identifier)) @function
112
113 (call_arg
114 (identifier) @variable.other.member)
115
116 [
117 (true)
118 (false)
119 ] @constant.builtin.boolean
120
121 (comment) @comment
122
123 (debug) @keyword
124
125 (string) @string
126
127 (fill_char) @punctuation.delimiter
128
129 (alignment) @operator
130
131 (escape) @constant.character.escape
132
133 (null) @constant.builtin
134
135 (number) @constant.numeric
136
137 (meta) @keyword.directive
138
139 (meta
140 name: (identifier) @variable.other.member)
141
142 (entry_inline
143 key: (identifier) @variable.other.member)
144
145 (entry_block
146 key: (identifier) @variable.other.member)
147
148 (self) @variable.builtin
149
150 (type
151 _ @type)
152
153 (arg
154 (_ (identifier) @variable.parameter))
155
156 (ellipsis) @variable.parameter