Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rewriter] Pass match result to conditional function #2087

Open
rezaasjd opened this issue Mar 4, 2025 · 1 comment
Open

[Rewriter] Pass match result to conditional function #2087

rezaasjd opened this issue Mar 4, 2025 · 1 comment

Comments

@rezaasjd
Copy link

rezaasjd commented Mar 4, 2025

Given the match result object, the conditional function of the rewrite rule can single out a match if the user intends to avoid a replacement for specific nodes.

This seems to be a todo located at try_rewrite function of RewriteRule.
Creating a PR corresponding to this issue.

@rezaasjd
Copy link
Author

rezaasjd commented Mar 4, 2025

PR: #2088

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants