Skip to content

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