| 1 | [ |
| 2 | (let_binding) |
| 3 | (type_binding) |
| 4 | (structure) |
| 5 | (signature) |
| 6 | (record_declaration) |
| 7 | (function_expression) |
| 8 | (fun_expression) |
| 9 | (match_case) |
| 10 | (then_clause) |
| 11 | (else_clause) |
| 12 | ] @indent |
| 13 | |
| 14 | ; `else if` chains nest else_clause -> if_expression -> else_clause, which would |
| 15 | ; double-indent the trailing branch; `try`/`with` and explicit module `end` |
| 16 | ; alignment are likewise left to the writer — see tests/indent/ocaml.ml. |
| 17 | [ |
| 18 | "}" |
| 19 | ")" |
| 20 | "]" |
| 21 | "end" |
| 22 | ] @outdent |