Debian Codegraph @

runtime/queries/meson/highlights.scm

raw symbols SCIP
1 (comment) @comment
2
3 (number) @constant.numeric.integer
4 (bool) @constant.builtin.boolean
5 (string) @string
6 (escape_sequence) @constant.character.escape
7
8 [
9 "(" ")" "[" "]" "{" "}"
10 ] @punctuation.bracket
11
12 [
13 "," "." ":"
14 ] @punctuation.delimiter
15
16 [
17 "=" "==" "!=" "+" "+=" "-=" "/" "/=" "<" ">" ">=" "?"
18 ] @operator
19
20 [
21 "and" "or" "not" "in"
22 ] @keyword.operator
23
24 [
25 "if" "elif" "else" "endif"
26 ] @keyword.control.conditional
27
28 [
29 "foreach" "endforeach"
30 (keyword_break)
31 (keyword_continue)
32 ] @keyword.control.repeat
33
34 ; Format-string placeholder `@var@`.
35 "@" @punctuation.special
36
37 (identifier) @variable
38
39 ; Command calls: `project(...)`, `executable(...)`.
40 (normal_command
41 command: (identifier) @function)
42
43 ; Member access vs. method call. A plain `obj.prop` is a member; an
44 ; `obj.method(...)` additionally carries the call's `function:` field, so the
45 ; later, more specific rule reclaims it as @function.method.
46 (expression_statement
47 property: (identifier) @variable.other.member)
48 (expression_statement
49 property: (identifier) @function.method
50 function: (_))
51
52 ; Dictionary / keyword-argument keys.
53 (pair
54 key: (identifier) @variable.other.member)