Debian Codegraph @

runtime/queries/nearley/highlights.scm

raw symbols SCIP
1
2 (comment) @comment.line
3
4 (string) @string
5 (string "i" @keyword.modifier)
6
7 (identifier) @variable.other
8 (rule_name (identifier) @function)
9 (rule (generic (identifier) @function))
10
11 (directive_name) @keyword.directive
12 (directive_value (identifier) @constant)
13 (directive_value (string) @string)
14
15 (token) @constant
16
17 (generic
18 "<" @punctuation.bracket
19 (identifier) @type.parameter
20 ">" @punctuation.bracket
21 )
22
23 (group "(" @punctuation.bracket ")" @punctuation.bracket)
24
25 (charset) @string.regexp
26 (wildcard) @keyword
27
28 (quantifier) @function.builtin
29
30 (macro_name
31 "[" @punctuation.bracket
32 (identifier) @variable.parameter
33 "]" @punctuation.bracket
34 )
35 (macro_arg) @variable.parameter
36
37 (rule "->" @operator)
38 (rule_body "|" @operator)
39
40 (cont_block "@{%" @keyword.directive "%}" @keyword.directive)
41 (cont_inline "{%" @keyword.directive "%}" @keyword.directive)
42
43 (ifdef) @keyword.directive