Debian Codegraph @

runtime/queries/werk/highlights.scm

raw symbols SCIP
1 (buildBlock . ("build") @keyword.function)
2 (taskBlock . ("task") @keyword.function )
3 (run . ("run") @keyword.function )
4 (taskBlock name: (identifier) @function )
5
6 (comment) @comment
7 (string) @string
8 (number) @constant.numeric
9 (identifier) @identifier
10
11 (include) @keyword.control.import
12 (let) @keyword.storage
13 (default) @keyword.storage
14 (config) @keyword.storage
15
16 (interpolation ["{" "}" "<" ">" ] @punctuation.special)
17 ["{" "}" "<" ">" "(" ")" "[" "]"] @punctuation.bracket
18 ["=>" "|"] @punctuation
19
20 ; Statements
21 (build "build") @function
22 (config "config") @function
23 (copy "copy") @function
24 (default "default") @function
25 (delete "delete") @function
26 (depfile "depfile") @function
27 (envRemove "env-remove") @function
28 (from "from") @function
29 (info "info") @function
30 (let "let") @function
31 (setEnv "env") @function
32 (shell "shell") @function
33 (write "write") @function
34
35 ; Expressions
36 (error "error" @function.builtin)
37 (getEnv "env" @function.builtin)
38 (glob "glob" @function.builtin)
39 (include "include" @function.builtin)
40 (info "info" @function.builtin)
41 (read "read" @function.builtin)
42 (warn "warn" @function.builtin)
43 (which "which" @function.builtin)
44
45 ; Operations
46 (op (string) @operator)
47 ("dedup" @operator)
48 ("first" @operator)
49 ("flatten" @operator)
50 ("last" @operator)
51 ("len" @operator)
52 ("lines" @operator)
53 ("tail" @operator)
54 (assertEq "assert-eq" @operator)
55 (discard "discard" @operator)
56 (filter "filter" @operator)
57 (filterMatch "filter-match" @operator)
58 (join "join" @operator)
59 (map "map" @operator)
60 (match "match" @operator)
61 (split "split" @operator)
62