2022-11-26 20:17:10 +04:00
|
|
|
(method_declaration
|
2024-03-10 07:23:33 +04:00
|
|
|
body: (_)? @function.inside) @function.around
|
|
|
|
|
|
|
|
(constructor_declaration
|
2022-11-26 20:17:10 +04:00
|
|
|
body: (_) @function.inside) @function.around
|
|
|
|
|
|
|
|
(interface_declaration
|
|
|
|
body: (_) @class.inside) @class.around
|
|
|
|
|
|
|
|
(class_declaration
|
|
|
|
body: (_) @class.inside) @class.around
|
|
|
|
|
|
|
|
(record_declaration
|
|
|
|
body: (_) @class.inside) @class.around
|
|
|
|
|
|
|
|
(enum_declaration
|
|
|
|
body: (_) @class.inside) @class.around
|
|
|
|
|
|
|
|
(formal_parameters
|
|
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
|
|
|
|
(type_parameters
|
|
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
|
|
|
|
(type_arguments
|
|
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
|
|
|
|
(argument_list
|
|
|
|
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
|
|
|
|
|
|
|
[
|
|
|
|
(line_comment)
|
|
|
|
(block_comment)
|
|
|
|
] @comment.inside
|
|
|
|
|
|
|
|
(line_comment)+ @comment.around
|
|
|
|
|
|
|
|
(block_comment) @comment.around
|
2024-03-31 20:53:15 +04:00
|
|
|
|
|
|
|
(array_initializer
|
|
|
|
(_) @entry.around)
|
|
|
|
|
|
|
|
(enum_body
|
|
|
|
(enum_constant) @entry.around)
|