2022-11-23 16:06:50 +00:00
|
|
|
;; extends
|
2022-06-28 14:37:20 +00:00
|
|
|
(field_declaration
|
|
|
|
name: (field_identifier) @definition.field)
|
|
|
|
|
|
|
|
(method_spec
|
|
|
|
name: (field_identifier) @method.name
|
|
|
|
parameters:(parameter_list) @method.parameter_list
|
|
|
|
)@interface.method.declaration
|
|
|
|
|
2022-11-24 00:11:35 +00:00
|
|
|
(type_declaration
|
|
|
|
(type_spec
|
|
|
|
name: (type_identifier) @name
|
|
|
|
type: [(struct_type) (interface_type)] @type)) @start
|
2022-06-28 14:37:20 +00:00
|
|
|
|
|
|
|
(var_spec) @scope
|