blob: 3c078fca456510fc89f3c02fb0f35f7d6bb5b4d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
[
(mod_item)
(struct_item)
(enum_item)
(impl_item)
(for_expression)
(struct_expression)
(match_expression)
(tuple_expression)
(match_arm)
(match_block)
(if_let_expression)
(call_expression)
(assignment_expression)
(arguments)
(block)
(where_clause)
(use_list)
(array_expression)
(ordered_field_declaration_list)
(field_declaration_list)
(enum_variant_list)
(parameters)
(token_tree)
(macro_definition)
] @indent
(trait_item body: (_) @indent)
(string_literal (escape_sequence)) @indent
(impl_item (where_clause) @dedent)
[
"where"
")"
"]"
"}"
] @branch
(impl_item (declaration_list) @branch)
[
(line_comment)
(string_literal)
] @ignore
(raw_string_literal) @auto
|