Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
15 lines
359 B
Scheme
15 lines
359 B
Scheme
;; Capture extern functions, variables, public classes, and methods
|
|
(function_definition
|
|
(storage_class_specifier) @extern
|
|
) @function
|
|
(struct_specifier) @struct
|
|
(struct_specifier
|
|
body: (field_declaration_list
|
|
(field_declaration
|
|
declarator: (field_identifier))? @class_variable
|
|
)
|
|
)
|
|
(declaration
|
|
(storage_class_specifier) @extern
|
|
) @variable
|