Debian Codegraph @

runtime/queries/bitbake/highlights.scm

raw symbols SCIP
1
2 ; variables
3 (variable_assignment (identifier) @variable.other.member)
4 (variable_assignment (concatenation (identifier) @variable.other.member))
5 (unset_statement (identifier) @variable.other.member)
6 (export_statement (identifier) @variable.other.member)
7 (variable_expansion (identifier) @variable.other.member)
8 (python_function_definition (parameters (python_identifier) @variable.other.member))
9
10 (variable_assignment (override) @keyword.storage.modifier)
11 (overrides_statement (identifier) @keyword.storage.modifier)
12 (flag) @keyword.storage.modifier
13
14 [
15 "="
16 "?="
17 "??="
18 ":="
19 "=+"
20 "+="
21 ".="
22 "=."
23
24 ] @operator
25
26 [ "(" ")" "{" "}" "[" "]" ] @punctuation.bracket
27 (variable_expansion [ "${" "}" ] @punctuation.special)
28
29 [
30 "noexec"
31 "INHERIT"
32 "OVERRIDES"
33 "$BB_ENV_PASSTHROUGH"
34 "$BB_ENV_PASSTHROUGH_ADDITIONS"
35 ] @variable.builtin
36
37 ; functions
38
39 (python_function_definition (python_identifier) @function)
40 (anonymous_python_function (identifier) @function)
41 (function_definition (identifier) @function)
42 (export_functions_statement (identifier) @function)
43 (addtask_statement (identifier) @function)
44 (deltask_statement (identifier) @function)
45 (addhandler_statement (identifier) @function)
46 (function_definition (override) @keyword.storage.modifier)
47
48 [
49 "addtask"
50 "deltask"
51 "addhandler"
52 "unset"
53 "EXPORT_FUNCTIONS"
54 "python"
55 "def"
56 ] @keyword.function
57
58 [
59 "append"
60 "prepend"
61 "remove"
62
63 "before"
64 "after"
65 ] @keyword.operator
66
67 ; imports
68
69 [
70 "inherit"
71 "include"
72 "require"
73 "export"
74 "import"
75 ] @keyword.control.import
76
77 (inherit_path) @namespace
78 (include_path) @namespace
79
80
81 (string) @string
82 (comment) @comment