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

Split out AST Node Types #4

Closed
DavePearce opened this issue Jun 22, 2022 · 1 comment
Closed

Split out AST Node Types #4

DavePearce opened this issue Jun 22, 2022 · 1 comment

Comments

@DavePearce
Copy link
Owner

Basically, we need an enum and a struct for each type.

@DavePearce
Copy link
Owner Author

Might be worth looking at this:

https://docs.rs/enum_variant_type/latest/enum_variant_type/

It seems that there is a proposal for enum variants as types, but this was postponed:

rust-lang/rfcs#2593

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant