Reviewers: Michael Starzinger, rossberg,
Message:
An initial patch for for-of syntax. PTAL :)
Description:
Add 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=
Please review this at https://codereview.chromium.org/15300018/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/ast.h
M src/flag-definitions.h
M src/parser.h
M src/parser.cc
M src/preparser.h
M src/preparser.cc
M src/scanner.h
M test/cctest/test-parsing.cc
A + test/mjsunit/harmony/iteration-syntax.js
--
--
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/groups/opt_out.