v8/test
Daniel Vogelheim ae1e87596d [parser] Introduce 'contextual keyword tokens'.
Introduce 'contextual keyword' tokens, which are parsed as identifiers but
in some contexts are treated by the parser like proper keywords. These are
usually keywords introduced by recent ECMAScript versions, which for reasons
of backwards compatibility are still permissible as regular identifiers in
most contexts.

Current usage is to check for Token::IDENTIFIER and then do a string
compare. With this change the initial scan will scan them as usual, but
will then record the token as IDENTIFIER plus a secondary token with the
'contextual' value.

BUG=v8:6902

Change-Id: I6ae390382998cf756a23720bd481cb9c0eb78a72
Reviewed-on: https://chromium-review.googlesource.com/459479
Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44189}
2017-03-28 12:43:23 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [parser] Introduce 'contextual keyword tokens'. 2017-03-28 12:43:23 +00:00
common [wasm] [interpreter] Implement indirect function calls 2017-03-23 10:54:58 +00:00
debugger [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
fuzzer Make isolate explicit param of parsing:: functions 2017-03-28 08:20:56 +00:00
inspector [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
intl [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
js-perf-test [JSPerfTests] New tests for Array.prototype.filter and map. 2017-03-24 17:39:34 +00:00
memory [snapshot] support multiple contexts in the same snapshot. 2016-06-15 15:39:06 +00:00
message [type-profile] Constant TypeProfileSlot index. 2017-03-27 13:24:53 +00:00
mjsunit [regexp] Named capture support for string replacements 2017-03-28 09:09:42 +00:00
mozilla [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs Store the FunctionTemplateInfo used to create remote objects in the map 2017-03-15 15:57:38 +00:00
test262 [asm.js] Widen test coverage to cctest and friends. 2017-03-28 08:00:40 +00:00
unittests Make isolate explicit param of parsing:: functions 2017-03-28 08:20:56 +00:00
webkit Better error for accessing 'this' in derived constructor. 2017-03-27 20:42:38 +00:00
bot_default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
bot_default.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
BUILD.gn Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00
default.gyp Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
default.isolate Add inspector tests to default tests to run locally. 2016-11-04 08:50:07 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00