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

Reparenthesisation aka Reprecedencisation aka Umklammerung #1

Open
Gregoor opened this issue Jan 3, 2023 · 0 comments
Open

Reparenthesisation aka Reprecedencisation aka Umklammerung #1

Gregoor opened this issue Jan 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Gregoor
Copy link
Owner

Gregoor commented Jan 3, 2023

68385939643c6ed7.mp4

(Video of how it works in Tofu)

This will likely require a (hopefully small) amount of language specific work. In most tree-sitter langs' ASTs parenthesized nodes are called parenthesized_expression, but e.g. for a TS type they are called parenthesized_type.

@Gregoor Gregoor added the enhancement New feature or request label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant