; C scope context query

(function_definition) @context
(function_definition declarator: (function_declarator declarator: (identifier) @name))

(struct_specifier) @context
(struct_specifier name: (type_identifier) @name)

(enum_specifier) @context
(enum_specifier name: (type_identifier) @name)
