Tokens inside of macro call and attr
dtolnay opened this issue · comments
David Tolnay commented
Alex Kladov commented
Yeah, this is somewhat of a placeholder node at the moment. We can list every token here, but that doesn’t seems useful for the purpose of genearating a syntax tree, and probably will be confusing with respect to contextual tokens & jointness.
Definitelly needs a comment in the source thoug.
Michael Bradshaw commented
Instead of trying to list every possible token, could just a generic 'token'*
be used? That is:
TokenTree =
'(' 'token'* ')'
| '{' 'token'* '}'
| '[' 'token'* ']'
Lukas Wirth commented
Closing as the grammar file is no longer maintained