(class_declaration name: (identifier) @name) @definition.class
(interface_declaration name: (identifier) @name) @definition.interface
(typedef_declaration name: (identifier) @name) @definition.type
(function_declaration name: (identifier) @name) @definition.function
(variable_declaration name: (identifier) @name) @definition.constant
