Reviewers: arv, rossberg,
Message:
Please take initial look at your leisure.
I will do a round of cleanups later, but let if you have any high-level
comments.
Description:
[destructuring] Implement basic binding destructuring infrastructure
This patch:
- Refactors Parser::ParseVariableDeclarations
- Introduces Parser::PatternMatcher class
- Implements matching a single variable pattern
- Implements rudimentary matching against object literal pattern
as a proof of concept
[email protected],[email protected]
BUG=v8:811
LOG=N
Please review this at https://codereview.chromium.org/1130623004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+548, -178 lines):
M BUILD.gn
M src/parser.h
M src/parser.cc
A src/pattern-matcher.cc
A + test/mjsunit/harmony/destructuring.js
M tools/gyp/v8.gyp
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.