2023-05-20 21:52:54 -04:00
|
|
|
; inherits: c
|
2024-02-19 00:00:07 +09:00
|
|
|
|
2023-05-20 21:52:54 -04:00
|
|
|
(reference_declarator
|
2023-07-22 15:29:32 +02:00
|
|
|
(identifier) @local.definition.var)
|
2023-05-20 21:52:54 -04:00
|
|
|
|
|
|
|
|
(type_parameter_declaration
|
2023-07-22 15:29:32 +02:00
|
|
|
(type_identifier) @local.definition.type)
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2023-07-22 15:29:32 +02:00
|
|
|
(template_declaration) @local.scope
|
2023-05-20 21:52:54 -04:00
|
|
|
|
|
|
|
|
(template_function
|
2023-07-22 15:29:32 +02:00
|
|
|
name: (identifier) @local.definition.function) @local.scope
|
2023-05-20 21:52:54 -04:00
|
|
|
|
|
|
|
|
[
|
2024-01-06 15:05:50 +09:00
|
|
|
(foreach_statement)
|
|
|
|
|
(foreach_instance_statement)
|
|
|
|
|
(unmasked_statement)
|
2023-07-22 15:29:32 +02:00
|
|
|
] @local.scope
|