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

Visitors Produce "Invalid" Trees #2110

Open
jack-gitdev opened this issue Sep 29, 2023 · 2 comments
Open

Visitors Produce "Invalid" Trees #2110

jack-gitdev opened this issue Sep 29, 2023 · 2 comments
Assignees

Comments

@jack-gitdev
Copy link
Collaborator

jack-gitdev commented Sep 29, 2023

Some visitors trigger on the presence of a reference node sitting behind a reference expression.
Some visitors add a double parenthesis but drop a reference node

((FOO == 'bar'))
Expected: ref -> refExp -> ref -> refExp
Actual: refExp -> ref -> refExp

Validate that query trees do not produce doubley wrapped nodes (double parenthesis) and each parenthesis (reference expression) should have a parent that is a reference node.

@jack-gitdev jack-gitdev self-assigned this Sep 29, 2023
@d-hwang
Copy link
Collaborator

d-hwang commented Sep 29, 2023

I believe this ticket is related to #1235

@jack-gitdev
Copy link
Collaborator Author

This may also be related #1165

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

No branches or pull requests

2 participants