tc39 / proposal-extractors

Extractors for ECMAScript
http://tc39.es/proposal-extractors/
MIT License
200 stars 3 forks source link

Add NLT to ExtractorBindingPattern, ExtractorAssignmentPattern, and ExtractorMemberExpression #27

Open rbuckton opened 3 months ago

rbuckton commented 3 months ago

This adds [no |LineTerminator| here] assertions to ExtractorBindingPattern, ExtractorAssignmentPattern, and ExtractorMemberExpression to align with Option (2) as discussed in #24:

  1. Introduce an NLT in ExtractorBindingPattern and ExtractorAssignmentPattern.

This is an alternative solution to the one implemented in #25.

The outcome of this change is as follows:

Fixes #24 Related #25

github-actions[bot] commented 3 months ago

A preview of this PR can be found at https://tc39.es/proposal-extractors/pr/27.