2023-02-13 00:03:02 +04:00
|
|
|
[
|
|
|
|
(if_statement)
|
|
|
|
(for_statement)
|
|
|
|
(while_statement)
|
|
|
|
(match_statement)
|
|
|
|
(pattern_section)
|
|
|
|
|
|
|
|
(function_definition)
|
2024-07-31 00:52:47 +04:00
|
|
|
(lambda)
|
2023-02-13 00:03:02 +04:00
|
|
|
(constructor_definition)
|
|
|
|
(class_definition)
|
|
|
|
(enum_definition)
|
|
|
|
|
|
|
|
(dictionary (_))
|
|
|
|
(array (_))
|
2023-03-05 22:41:18 +04:00
|
|
|
(setget)
|
2023-02-13 00:03:02 +04:00
|
|
|
] @indent
|
|
|
|
|
|
|
|
[
|
|
|
|
(if_statement)
|
|
|
|
(for_statement)
|
|
|
|
(while_statement)
|
|
|
|
(match_statement)
|
|
|
|
(pattern_section)
|
|
|
|
|
|
|
|
(function_definition)
|
|
|
|
(class_definition)
|
|
|
|
] @extend
|
|
|
|
|
|
|
|
[
|
|
|
|
(return_statement)
|
|
|
|
(break_statement)
|
|
|
|
(continue_statement)
|
|
|
|
(pass_statement)
|
|
|
|
] @extend.prevent-once
|
|
|
|
|