summaryrefslogtreecommitdiffstats
path: root/queries/ispc/locals.scm
blob: 8eca18c678f5c56a4234828d33d35db44eef5a64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; inherits: c

(reference_declarator
  (identifier) @definition.var)

(type_parameter_declaration
  (type_identifier) @definition.type)
(template_declaration) @scope

(template_function
  name: (identifier) @definition.function) @scope

[
 (foreach_statement)
 (foreach_instance_statement)
 (unmasked_statement)
] @scope