-
Notifications
You must be signed in to change notification settings - Fork 20
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
Remove redundant raw
properties
#54
Comments
I strongly feel like they should be removed. It doesn’t make sense to duplicate data like this: this only makes it harder to modify the AST (as you now have to perform the modification in several places). |
I see where you are going. I think there are multiple answers to this:
@mathiasbynens, as you want to modify the AST, is 1. the solution you seek for? |
1 sounds good to me. (2 would be fine, too.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here’s the current AST for
[a-z]
:All the
raw
properties here can be removed except"raw": "a"
and"raw": "z"
. Should they be removed?The text was updated successfully, but these errors were encountered: