2021-01-05 19:26:08 +07:00
|
|
|
[
|
|
|
|
|
(import_declaration)
|
|
|
|
|
(const_declaration)
|
|
|
|
|
(var_declaration)
|
|
|
|
|
(type_declaration)
|
|
|
|
|
(composite_literal)
|
|
|
|
|
(func_literal)
|
2021-01-15 13:40:34 +07:00
|
|
|
(literal_value)
|
|
|
|
|
(expression_case)
|
|
|
|
|
(default_case)
|
2021-01-05 19:26:08 +07:00
|
|
|
(block)
|
2022-02-04 23:35:30 +01:00
|
|
|
(call_expression)
|
|
|
|
|
(parameter_list)
|
2021-01-05 19:26:08 +07:00
|
|
|
] @indent
|
|
|
|
|
|
|
|
|
|
[
|
2021-01-20 12:22:41 +07:00
|
|
|
"case"
|
2021-01-05 19:26:08 +07:00
|
|
|
"}"
|
|
|
|
|
] @branch
|
2021-03-01 20:20:37 +07:00
|
|
|
|
2022-07-02 12:47:05 +02:00
|
|
|
(const_declaration ")" @branch)
|
|
|
|
|
|
2022-04-16 10:53:22 +01:00
|
|
|
[
|
|
|
|
|
"}"
|
|
|
|
|
")"
|
|
|
|
|
] @indent_end
|
|
|
|
|
|
2022-02-04 23:35:30 +01:00
|
|
|
(parameter_list ")" @branch)
|
2022-02-04 23:15:38 +01:00
|
|
|
|
2022-02-04 23:35:30 +01:00
|
|
|
(comment) @ignore
|