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 properties from identifiers #4220

Merged
merged 1 commit into from
Mar 6, 2016

Conversation

lydell
Copy link
Collaborator

@lydell lydell commented Mar 5, 2016

  • Split out a PROPERTY token from the IDENTIFIER token.
  • Split out Property from the Identifier in the grammar.
  • Split out PropertyLiteral from IdentifierLiteral.

@@ -413,6 +413,9 @@ exports.PassthroughLiteral = class PassthroughLiteral extends Literal
exports.IdentifierLiteral = class IdentifierLiteral extends Literal
isAssignable: -> @value not in RESERVED

exports.PropertyLiteral = class PropertyLiteral extends Literal
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PropertyLiteral is a pretty strange name. I think PropertyName is better.

@lydell lydell force-pushed the propertyliteral branch from 672ac9d to 55ce3b7 Compare March 6, 2016 09:25
@michaelficarra
Copy link
Collaborator

LGTM. Please rebase and merge.

- Split out a PROPERTY token from the IDENTIFIER token.
- Split out Property from the Identifier in the grammar.
- Split out PropertyLiteral from IdentifierLiteral.
@lydell lydell force-pushed the propertyliteral branch from 55ce3b7 to e42fc47 Compare March 6, 2016 09:55
lydell added a commit that referenced this pull request Mar 6, 2016
Split out properties from identifiers
@lydell lydell merged commit cbc72a2 into jashkenas:master Mar 6, 2016
@lydell lydell deleted the propertyliteral branch March 6, 2016 09:57
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.

2 participants