Skip to content

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

Closed
JordanMartinez wants to merge 1 commit intoquintenkasteel:new-astfrom
JordanMartinez:supportMetaProperty
Closed

Add support for MetaProperty (import.meta and new.target)#129
JordanMartinez wants to merge 1 commit intoquintenkasteel:new-astfrom
JordanMartinez:supportMetaProperty

Conversation

@JordanMartinez
Copy link
Copy Markdown

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