-
Notifications
You must be signed in to change notification settings - Fork 787
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
ES6 feature: Destructuring: Tracking Issue #1045
Comments
mikesherov
changed the title
ES6 feature: Destructuring
ES6 feature: Destructuring: Tracking Issue
Mar 7, 2015
ikarienator
added a commit
to ikarienator/esprima
that referenced
this issue
Mar 18, 2015
Closes jquery#1045. Closes jquery#1060.
ikarienator
added a commit
to ikarienator/esprima
that referenced
this issue
Mar 18, 2015
Closes jquery#1045. Closes jquery#1060.
ikarienator
added a commit
to ikarienator/esprima
that referenced
this issue
Mar 18, 2015
Closes jquery#1045. Closes jquery#1060.
ikarienator
added a commit
to ikarienator/esprima
that referenced
this issue
Mar 18, 2015
Closes jquery#1045. Closes jquery#1060.
ikarienator
added a commit
to ikarienator/esprima
that referenced
this issue
Mar 18, 2015
Closes jquery#1045. Closes jquery#1060.
ikarienator
added a commit
to ikarienator/esprima
that referenced
this issue
Mar 19, 2015
Closes jquery#1045. Related to jquery#1060.
Closed
This was referenced Jun 21, 2015
ariya
added a commit
to ariya/esprima
that referenced
this issue
Dec 15, 2015
This is not necessary anymore once the cover grammar was properly supported (part of jquery#1045).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
12.14.5 Destructuring Assignment
They are used in the left hand side of an assignment expression when
=
is the assignment operator, or at theLeftHandSideExpression
position of a for-in or a for-of loop.Referred to by:
Syntax:
Spec:
Destructuring Assignment: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-destructuring-assignment
Relevant AST interfaces (from https://github.com/estree/estree): (TBD)
Early Errors:
IsValidSimpleAssignmentTarget
ofIdentifierReference
isfalse
.LeftHandSideExpression
is either anObjectLiteral
or anArrayLiteral
and if the lexical token sequence matched byLeftHandSideExpression
cannot be parsed with no tokens left over usingAssignmentPattern
as the goal symbol.LeftHandSideExpression
is neither anObjectLiteral
nor anArrayLiteral
andIsValidSimpleAssignmentTarget(LeftHandSideExpression)
isfalse
.13.2.3 Destructuring Binding Patterns
BindingPattern
s are used inLexicalBinding
s,VariableDeclaration
s,ForBinding
s andCatchParameter
s.BindingElement
is also used inFormalParameter
s. ABindingElement
is either aBindingPattern
or aBindingIdentifier
, optionally followed by aInitializer
.Syntax
Spec
Destructuring Binding Patterns: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-destructuring-binding-patterns
Relevant AST interfaces (from https://github.com/estree/estree): (TBD)
SpiderMonkey AST
Shift AST
Related Tasks:
The text was updated successfully, but these errors were encountered: