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

12 lines
308 B
Scheme

; inherits: c
(function_declarator
declarator: (qualified_identifier name: (identifier) @definition.function))
(struct_specifier
name: (type_identifier) @definition.struct
body: (field_declaration_list))
(class_specifier
name: (type_identifier) @definition.class
body: (field_declaration_list))