Debian Codegraph @

runtime/queries/gn/highlights.scm

raw symbols SCIP
1 ; Copyright (C) 2021 Will Cassella ([email protected])
2 ;
3 ; Licensed under the Apache License, Version 2.0 (the "License");
4 ; you may not use this file except in compliance with the License.
5 ; You may obtain a copy of the License at
6 ;
7 ; http://www.apache.org/licenses/LICENSE-2.0
8 ;
9 ; Unless required by applicable law or agreed to in writing, software
10 ; distributed under the License is distributed on an "AS IS" BASIS,
11 ; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 ; See the License for the specific language governing permissions and
13 ; limitations under the License.
14
15 (identifier) @variable.builtin
16
17 (scope_access field: (_) @variable.other.member)
18
19 (call target: (_) @function)
20
21 [ "if" "else" ] @keyword.control.conditional
22
23 [
24 (assign_op)
25 (arithmetic_binary_op)
26 (comparison_binary_op)
27 (equivalence_binary_op)
28 (logical_and_binary_op)
29 (logical_or_binary_op)
30 (negation_unary_op)
31 ] @operator
32
33 [ "(" ")" "[" "]" "{" "}" ] @punctuation.bracket
34 [ "." "," ] @punctuation.delimiter
35
36 (string) @string
37 (string_escape) @constant.character.escape
38 (string_expansion [ "$" "${" "}" ] @constant.character.escape)
39 [ (integer) (hex) ] @constant.numeric
40 (boolean) @constant.builtin.boolean
41
42 (comment) @comment