nvim-treesitter/runtime/queries/ispc/locals.scm

19 lines
361 B
Scheme
Raw Normal View History

; inherits: c
(reference_declarator
(identifier) @local.definition.var)
(type_parameter_declaration
(type_identifier) @local.definition.type)
2024-01-06 15:05:50 +09:00
(template_declaration) @local.scope
(template_function
name: (identifier) @local.definition.function) @local.scope
[
2024-01-06 15:05:50 +09:00
(foreach_statement)
(foreach_instance_statement)
(unmasked_statement)
] @local.scope