2022-09-10 17:47:08 +04:00
|
|
|
|
|
|
|
(class_definition
|
|
|
|
(body) @class.inside) @class.around
|
|
|
|
|
|
|
|
(function_definition
|
|
|
|
(body) @function.inside) @function.around
|
|
|
|
|
2024-07-31 00:52:47 +04:00
|
|
|
(lambda (body) @function.inside) @function.around
|
|
|
|
|
2022-09-10 17:47:08 +04:00
|
|
|
(parameters
|
|
|
|
[
|
|
|
|
(identifier)
|
|
|
|
(typed_parameter)
|
|
|
|
(default_parameter)
|
|
|
|
(typed_default_parameter)
|
|
|
|
] @parameter.inside @parameter.around)
|
|
|
|
|
2024-01-28 13:19:25 +04:00
|
|
|
(arguments (_expression) @parameter.inside @parameter.around)
|
|
|
|
|
2024-07-31 00:52:47 +04:00
|
|
|
[
|
|
|
|
(const_statement)
|
|
|
|
(variable_statement)
|
|
|
|
(pair)
|
|
|
|
(enumerator)
|
|
|
|
] @entry.around
|
|
|
|
|
2022-09-10 17:47:08 +04:00
|
|
|
(comment) @comment.inside
|
|
|
|
(comment)+ @comment.around
|