Debian Codegraph @

runtime/queries/wren/highlights.scm

raw symbols SCIP
1 (comment) @comment
2 (string) @string
3 (raw_string) @string
4 (number) @constant.numeric.integer
5 (name) @variable
6 (field) @variable
7 (static_field) @variable
8 (null) @constant.builtin
9 (boolean) @constant.builtin.boolean
10
11 ((name) @variable.builtin
12 (#match? @variable.builtin "^(Bool|Class|Fiber|Fn|List|Map|Null|Num|Object|Range|Sequence|String|System)$"))
13
14 (call_expression
15 (name) @function)
16
17 (method_definition
18 (name) @function.method)
19
20 ((parameter) @variable.parameter)
21
22
23 (if_statement
24 [
25 "if"
26 "else"
27 ] @keyword.control.conditional)
28
29 (for_statement
30 [
31 "for"
32 "in"
33 ] @keyword.control.repeat)
34
35 (while_statement
36 [
37 "while"
38 ] @keyword.control.repeat)
39
40 [
41 (break_statement)
42 (continue_statement)
43 (return_statement)
44 ] @keyword.control.return
45
46 (class_definition
47 "is"
48 @keyword)
49
50 [
51 "import"
52 "for"
53 "as"
54 ] @keyword.control.import
55
56 [
57 "is"
58 ] @keyword
59
60 (operator) @operator
61
62 [
63 "("
64 ")"
65 "["
66 "]"
67 "{"
68 "}"
69 ] @punctuation.bracket
70
71 ["," "."] @punctuation.delimiter
72
73 [
74 "class"
75 "var"
76 ] @keyword.storage.type
77
78 [
79 "static"
80 ] @keyword.storage.modifier
81
82 (constructor
83 ["construct"] @constructor)