blob: 3e794b2f67cb3798d6428976fdcd49678e8d1d7f (
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
52
53
54
55
56
57
58
59
60
61
62
63
|
; Scopes
[
(block)
(declaration)
(statement)
] @local.scope
; References
(identifier) @local.reference
; Definitions
(package_declaration
(identifier) @local.definition.namespace)
(import_declaration
alias: (identifier) @local.definition.namespace)
(procedure_declaration
(identifier) @local.definition.function)
(struct_declaration
(identifier) @local.definition.type
"::")
(enum_declaration
(identifier) @local.definition.enum
"::")
(union_declaration
(identifier) @local.definition.type
"::")
(bit_field_declaration
(identifier) @local.definition.type
"::")
(variable_declaration
(identifier) @local.definition.var
":=")
(const_declaration
(identifier) @local.definition.constant
"::")
(const_type_declaration
(identifier) @local.definition.type
":")
(parameter
(identifier) @local.definition.parameter
":"?)
(default_parameter
(identifier) @local.definition.parameter
":=")
(field
(identifier) @local.definition.field
":")
(label_statement
(identifier) @local.definition
":")
|