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

Add hook for pre- and post-parse #18

Open
stoically opened this issue Nov 2, 2021 · 0 comments
Open

Add hook for pre- and post-parse #18

stoically opened this issue Nov 2, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@stoically
Copy link
Owner

stoically commented Nov 2, 2021

In some cases consumers want to operate on the token stream before it gets parsed by syn-rsx or after it was parsed (and before syn expects the token stream to end). To support such scenarios adding a callback function as additional configuration is needed.

It might also be nice to have an hook for attribute keys specifically, as that would allow modifiers on keys, such as key?=value, which is a syntax supported by yew, afaik.

@stoically stoically added the enhancement New feature or request label Nov 2, 2021
dezren39 pushed a commit to dezren39/syn-rsx that referenced this issue Jul 31, 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