DescriptionAdd initial parser support for harmony iteration
This commit adds initial parser support for harmony iteration.
Specifically, it will parse:
for (x of y) {}
for (let x of y) {}
for (var x of y) {}
The semantics are still unimplemented.
TEST=mjsunit/harmony/for-of-syntax
BUG=v8:2214
R=rossberg@chromium.org
Committed: http://code.google.com/p/v8/source/detail?r=14984
Patch Set 1 #Patch Set 2 : Use subtyping instead of enumerated value #
Total comments: 11
Patch Set 3 : Fix nits, remove null checks in "for" construction #Patch Set 4 : Rebase onto current master #
Messages
Total messages: 11 (0 generated)
|