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

Add support for MetaProperty (import.meta and new.target) #129

Closed
wants to merge 1 commit into from
Closed

Add support for MetaProperty (import.meta and new.target) #129

wants to merge 1 commit into from

Conversation

JordanMartinez
Copy link

WIP

Fixes #127

ImportMeta is one of the paths for MetaProperty, which is one of the paths for MemberExpression.

Since meta and target are not keywords, I'm not sure how to properly account for them in the Lexer without making every instance of meta or target be parsed as MetaToken or TargetToken. I thought I could follow what's currently being done for GetToken and SetToken, but I'm guessing that's incorrect.

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

Successfully merging this pull request may close these issues.

Add parsing support for import.meta.url
1 participant