phino-0.0.166 / test-resources / rewriter-packs / custom / replaces-formation-deeper-than-max-depth.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---repeat: 1must: 1input: | [[ first -> [[ second -> [[ target -> "hello" ]] ]] ]]output: | [[ first -> [[ second -> [[ target -> ? ]] ]] ]]rules: custom: - name: void target pattern: | [[ !B1, target -> !e1, !B2 ]] result: | [[ !B1, target -> ?, !B2 ]]