syn-rsx icon indicating copy to clipboard operation
syn-rsx copied to clipboard

Add hook for pre- and post-parse

Open stoically opened this issue 4 years ago • 0 comments

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 avatar Nov 02 '21 11:11 stoically