v8/test
marja@chromium.org d74fd20fca Traitify ParserBase and move functions there.
(Second try, with fixes. First try: https://codereview.chromium.org/149913006/ )

The long-term goal is to move all recursive descent functions from Parser and
PreParser into ParserBase, but first they need to be unified.

Notes:
- The functions moved in this CL: ParseIdentifier, ParseIdentifierName,
ParseIdentifierNameOrGetOrSet, ParseIdentifierOrStrictReservedWord.
- IOW, this CL removes Parser::ParseIdentifier and PreParser::ParseIdentifier
and adds ParserBase::ParseIdentifier, etc.
- Error reporting used to require virtual funcs; now error reporting is moved to
the Traits too, and ParserBase no longer needs to be virtual.
- I had to move PreParser::Identifier out of the PreParser class, because
otherwise PreParserTraits cannot use it in a typedef.

BUG=v8:3126
LOG=N
R=mstarzinger@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19265 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-02-11 09:35:32 +00:00
..
benchmarks Update benchmark test suite. 2013-11-20 15:05:52 +00:00
cctest Traitify ParserBase and move functions there. 2014-02-11 09:35:32 +00:00
intl Implements ES6 String.prototype.normalize method. 2014-01-31 08:09:17 +00:00
message Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
mjsunit Fix gcstress test failure 2014-02-11 09:06:13 +00:00
mozilla Skip Mozilla tests with timeouts. 2014-01-29 15:13:45 +00:00
preparser Make sure files end with exactly one new line and police this in presubmit. 2013-11-22 13:50:39 +00:00
test262 Remove CallICs 2014-01-31 16:52:17 +00:00
webkit Fix inconsistencies wrt whitespaces. 2014-02-10 12:43:10 +00:00