Skip to content

Commit

Permalink
Adds GH tag queries
Browse files Browse the repository at this point in the history
  • Loading branch information
BekaValentine committed Jan 19, 2023
1 parent 7175a6d commit b38d7cb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions queries/tags.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
(struct_specifier name: (type_identifier) @name body:(_)) @definition.class

(declaration type: (union_specifier name: (type_identifier) @name)) @definition.class

(function_declarator declarator: (identifier) @name) @definition.function

(type_definition declarator: (type_identifier) @name) @definition.type

(enum_specifier name: (type_identifier) @name) @definition.type

0 comments on commit b38d7cb

Please sign in to comment.