helix/runtime/queries/cpp/symbols.scm

13 lines
308 B
Scheme
Raw Normal View History

2024-11-08 22:56:22 +08:00
; 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))