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