helix/runtime/queries/c/symbols.scm
2024-12-17 15:38:06 -05:00

9 lines
278 B
Scheme

(function_declarator
declarator: [(identifier) (field_identifier)] @definition.function)
(preproc_function_def name: (identifier) @definition.function)
(type_definition
declarator: (type_identifier) @definition.type)
(preproc_def name: (identifier) @definition.constant)