phino-0.0.170 / test-resources / cli / rules / evaluate-in-rewrite.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---# This rule references the 'evaluate' function, which needs the evaluation# context and is therefore only available to dataization/morphing rules.# It is used to test that 'rewrite' rejects such rules at load time.name: uses-evaluatepattern: '!e2'result: '!e1'where: - meta: '!e1' function: evaluate args: - '!e2'