| 1 | [ |
| 2 | (array_creation_expression) |
| 3 | (arguments) |
| 4 | (formal_parameters) |
| 5 | (compound_statement) |
| 6 | (declaration_list) |
| 7 | (binary_expression) |
| 8 | (return_statement) |
| 9 | (expression_statement) |
| 10 | (switch_block) |
| 11 | ; statements after a `case`/`default` label (the node also holds the label, |
| 12 | ; so the default tail scope indents only the body lines, not the label) |
| 13 | (case_statement) |
| 14 | (default_statement) |
| 15 | (anonymous_function_use_clause) |
| 16 | (property_hook_list) |
| 17 | ] @indent |
| 18 | |
| 19 | [ |
| 20 | "}" |
| 21 | ")" |
| 22 | "]" |
| 23 | ] @outdent |
| 24 | |
| 25 | ; Heredoc / nowdoc bodies are literal content. |
| 26 | [ |
| 27 | (heredoc) |
| 28 | (nowdoc) |
| 29 | ] @opaque |