|
|
@ -1,58 +1,20 @@
|
|
|
|
(
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
(attribute_item)+
|
|
|
|
|
|
|
|
(line_comment)+
|
|
|
|
|
|
|
|
]*
|
|
|
|
|
|
|
|
.
|
|
|
|
|
|
|
|
(function_item
|
|
|
|
(function_item
|
|
|
|
body: (_) @function.inside)) @function.around
|
|
|
|
body: (_) @function.inside) @function.around(closure_expression body: (_) @function.inside) @function.around
|
|
|
|
|
|
|
|
|
|
|
|
(closure_expression body: (_) @function.inside) @function.around
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
(attribute_item)+
|
|
|
|
|
|
|
|
(line_comment)+
|
|
|
|
|
|
|
|
]*
|
|
|
|
|
|
|
|
.
|
|
|
|
|
|
|
|
(struct_item
|
|
|
|
(struct_item
|
|
|
|
body: (_) @class.inside)) @class.around
|
|
|
|
body: (_) @class.inside) @class.around
|
|
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
(attribute_item)+
|
|
|
|
|
|
|
|
(line_comment)+
|
|
|
|
|
|
|
|
]*
|
|
|
|
|
|
|
|
.
|
|
|
|
|
|
|
|
(enum_item
|
|
|
|
(enum_item
|
|
|
|
body: (_) @class.inside)) @class.around
|
|
|
|
body: (_) @class.inside) @class.around
|
|
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
(attribute_item)+
|
|
|
|
|
|
|
|
(line_comment)+
|
|
|
|
|
|
|
|
]*
|
|
|
|
|
|
|
|
.
|
|
|
|
|
|
|
|
(union_item
|
|
|
|
(union_item
|
|
|
|
body: (_) @class.inside)) @class.around
|
|
|
|
body: (_) @class.inside) @class.around
|
|
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
(attribute_item)+
|
|
|
|
|
|
|
|
(line_comment)+
|
|
|
|
|
|
|
|
]*
|
|
|
|
|
|
|
|
.
|
|
|
|
|
|
|
|
(trait_item
|
|
|
|
(trait_item
|
|
|
|
body: (_) @class.inside)) @class.around
|
|
|
|
body: (_) @class.inside) @class.around
|
|
|
|
|
|
|
|
|
|
|
|
(
|
|
|
|
|
|
|
|
[
|
|
|
|
|
|
|
|
(attribute_item)+
|
|
|
|
|
|
|
|
(line_comment)+
|
|
|
|
|
|
|
|
]*
|
|
|
|
|
|
|
|
.
|
|
|
|
|
|
|
|
(impl_item
|
|
|
|
(impl_item
|
|
|
|
body: (_) @class.inside)) @class.around
|
|
|
|
body: (_) @class.inside) @class.around
|
|
|
|
|
|
|
|
|
|
|
|
(parameters
|
|
|
|
(parameters
|
|
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|