[destructuring] Implement BindingArrayPattern
authordslomov <dslomov@chromium.org>
Wed, 20 May 2015 08:08:26 +0000 (01:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 20 May 2015 08:08:14 +0000 (08:08 +0000)
commita38e3a4518219f41d57fc3c7dc5ae649599d7739
tree7a5b73b54a89241740b88acfd3fa7d58bc2ce9b5
parent9a1490ad6ffb7100c4b35581b2787ac1c08695d8
[destructuring] Implement BindingArrayPattern

(everything except Spread is implemeneted)

R=arv@chromium.org,rossberg@chromium.org,wingo@igalia.com
BUG=v8:811
LOG=N

Review URL: https://codereview.chromium.org/1139603005

Cr-Commit-Position: refs/heads/master@{#28500}
src/ast-value-factory.h
src/parser.cc
src/parser.h
src/pattern-rewriter.cc
test/mjsunit/harmony/destructuring.js