phino-0.0.152: 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-evaluate
pattern: '!e2'
result: '!e1'
where:
- meta: '!e1'
function: evaluate
args:
- '!e2'