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

Create proper code mappings for procedural macro results #1647

Open
wawel37 opened this issue Oct 15, 2024 · 0 comments
Open

Create proper code mappings for procedural macro results #1647

wawel37 opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
syn/quote New proc macro API

Comments

@wawel37
Copy link
Contributor

wawel37 commented Oct 15, 2024

After expanding Cairo code with procedural macros, construct code_mappings for new PluginGeneratedFile, between original code span saved in each token of expanded TokenStream and new position in outputted file.

@wawel37 wawel37 self-assigned this Oct 15, 2024
@maciektr maciektr added this to the Procedural macros milestone Oct 23, 2024
@maciektr maciektr changed the title Calculate proper code mappings for procedural macro results Create proper code mappings for procedural macro results Oct 23, 2024
@maciektr maciektr added the syn/quote New proc macro API label Oct 23, 2024
@maciektr maciektr assigned DelevoXDG and unassigned wawel37 Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
syn/quote New proc macro API
Projects
Status: Todo
Development

No branches or pull requests

3 participants