blob: c7310019324c987f321be6014389a5fc5da58def (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
; Scopes
[
(class)
(multiclass)
(def)
(defm)
(defset)
(defvar)
(foreach)
(if)
(let)
] @local.scope
; References
[
(var)
(identifier)
] @local.reference
; Definitions
(instruction
(identifier) @local.definition.field)
(let_instruction
(identifier) @local.definition.field)
(include_directive
(string) @local.definition.import)
(template_arg
(identifier) @local.definition.parameter)
(class
name: (identifier) @local.definition.type)
(multiclass
name: (identifier) @local.definition.type)
(def
name: (value
(_) @local.definition.type))
(defm
name: (value
(_) @local.definition.type))
(defset
name: (identifier) @local.definition.type)
(def_var
name: (identifier) @local.definition.var)
|