2021-02-20 18:28:10 +07:00
|
|
|
[
|
|
|
|
|
(class_body)
|
2022-02-24 17:40:14 -08:00
|
|
|
(enum_body)
|
2022-02-28 12:09:10 -08:00
|
|
|
(interface_body)
|
2021-02-20 18:28:10 +07:00
|
|
|
(constructor_declaration)
|
|
|
|
|
(constructor_body)
|
|
|
|
|
(block)
|
|
|
|
|
(switch_block)
|
|
|
|
|
(array_initializer)
|
|
|
|
|
(argument_list)
|
2021-02-20 20:18:16 +07:00
|
|
|
(formal_parameters)
|
2021-02-20 18:28:10 +07:00
|
|
|
] @indent
|
|
|
|
|
|
2022-04-02 10:49:09 -07:00
|
|
|
(expression_statement (method_invocation) @indent)
|
|
|
|
|
|
2021-02-20 18:28:10 +07:00
|
|
|
[
|
|
|
|
|
"("
|
|
|
|
|
")"
|
|
|
|
|
"{"
|
|
|
|
|
"}"
|
|
|
|
|
"["
|
|
|
|
|
"]"
|
|
|
|
|
] @branch
|
2021-03-01 20:20:37 +07:00
|
|
|
|
2022-02-24 15:41:15 -08:00
|
|
|
[
|
|
|
|
|
"}"
|
|
|
|
|
] @indent_end
|
|
|
|
|
|
2022-02-28 14:22:20 -08:00
|
|
|
(line_comment) @ignore
|
2022-02-28 14:45:18 -08:00
|
|
|
|
2022-02-28 16:31:11 -08:00
|
|
|
[
|
|
|
|
|
(ERROR)
|
|
|
|
|
(block_comment)
|
|
|
|
|
] @auto
|