| 1 | (function_declarator |
| 2 | declarator: [(identifier) (field_identifier)] @definition.function) |
| 3 | |
| 4 | (preproc_function_def name: (identifier) @definition.function) |
| 5 | |
| 6 | (preproc_def name: (identifier) @definition.constant) |
| 7 | |
| 8 | (type_definition |
| 9 | declarator: (type_identifier) @definition.type) |
| 10 | |
| 11 | (struct_specifier |
| 12 | name: (type_identifier) @definition.struct) |
| 13 | |
| 14 | (enum_specifier |
| 15 | name: (type_identifier) @definition.enum) |
| 16 | |
| 17 | (union_specifier |
| 18 | name: (type_identifier) @definition.struct) |