aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/smali/indents.scm
blob: b4f37ddb4ec73df0f9c3d632a62e4de58037e5c6 (plain) (blame)
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
[
  (annotation_directive)
  (array_data_directive)
  (field_definition)
  (method_definition)
  (packed_switch_directive)
  (param_directive)
  (parameter_directive)
  (sparse_switch_directive)
  (subannotation_directive)
  (list)
] @indent.begin

[
  ".end annotation"
  ".end array-data"
  ".end field"
  ".end method"
  ".end packed-switch"
  ".end param"
  ".end parameter"
  ".end sparse-switch"
  ".end subannotation"
  "}"
] @indent.end @indent.branch

[
  "{"
  "}"
] @indent.branch

[
  (ERROR)
  (comment)
] @indent.auto