You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a type Tokens<'code> in my code that wants to use rust-peg's parser! proc-macro, however I can't figure out how to do something like the following:
Not currently. There is support for type and lifetime parameters on rules, but not on the grammar as a whole.
Implementing it would take adding rust_ty_params() to the peg_grammar rule in the meta-grammar, and then threading that through to the right places in the output.
Hi, I have a type
Tokens<'code>
in my code that wants to userust-peg
'sparser!
proc-macro, however I can't figure out how to do something like the following:Is there a way to do this?
The text was updated successfully, but these errors were encountered: