v8/src/parsing
Sathya Gunasekaran 62a7c080d5 [parser] Provide better error when incorrectly using await
Before we try to do ASI and fail with a generic error, we special case
for the await token in the failure case.

Bug: v8:6572, v8:6513
Change-Id: Ia050c98b5a5b20bc326f429a367635b8553e4112
Reviewed-on: https://chromium-review.googlesource.com/582210
Reviewed-by: Daniel Ehrenberg <littledan@chromium.org>
Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46885}
2017-07-25 22:53:58 +00:00
..
duplicate-finder.h [parser] Simplify DuplicateFinder. 2017-03-16 17:44:14 +00:00
expression-classifier.h
func-name-inferrer.cc [parser/ast] Reduce memory consumption for AstConsString. 2017-04-04 15:38:17 +00:00
func-name-inferrer.h [parser/ast] Remove AstString, in favour of stand-alons Ast(Raw|Cons)String. 2017-03-24 13:35:47 +00:00
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
parameter-initializer-rewriter.cc Rewrite scopes of initializers in for-in/of destructured declarations 2017-07-25 18:26:16 +00:00
parameter-initializer-rewriter.h Rewrite scopes of initializers in for-in/of destructured declarations 2017-07-25 18:26:16 +00:00
parse-info.cc [Compiler] Use shared_ptr for ast_value_factory in ParseInfo. 2017-07-25 13:49:23 +00:00
parse-info.h [Compiler] Use shared_ptr for ast_value_factory in ParseInfo. 2017-07-25 13:49:23 +00:00
parser-base.h [parser] Provide better error when incorrectly using await 2017-07-25 22:53:58 +00:00
parser.cc Rewrite scopes of initializers in for-in/of destructured declarations 2017-07-25 18:26:16 +00:00
parser.h [Compiler] Remove SharedFunctionInfo from ParseInfo. 2017-07-21 10:02:47 +00:00
parsing.cc [Compiler] Remove SharedFunctionInfo from ParseInfo. 2017-07-21 10:02:47 +00:00
parsing.h [Compiler] Remove SharedFunctionInfo from ParseInfo. 2017-07-21 10:02:47 +00:00
pattern-rewriter.cc Rewrite scopes of initializers in for-in/of destructured declarations 2017-07-25 18:26:16 +00:00
preparse-data-format.h [parser] Set SharedFunctionInfo::length later. 2017-04-18 11:00:59 +00:00
preparse-data.cc Remove "calls eval" bit from ParseInfo and PreParseData 2017-04-19 19:45:45 +00:00
preparse-data.h [parser] Skipping inner funcs: Fix related to classes. 2017-05-15 14:22:34 +00:00
preparsed-scope-data.cc [parser] Skipping inner functions: fix recording eval calls. 2017-07-03 09:03:16 +00:00
preparsed-scope-data.h [parser] Skipping inner funcs: Associate data to SharedFunctionInfo, not Script. 2017-06-30 11:12:52 +00:00
preparser.cc [parser] Skipping inner funcs: Associate data to SharedFunctionInfo, not Script. 2017-06-30 11:12:52 +00:00
preparser.h [generators] remove SuspendFlags enum and related code 2017-07-14 16:09:53 +00:00
rewriter.cc Move closing of generators upon final return to the generator-resume builtin. 2017-06-13 13:49:45 +00:00
rewriter.h Make isolate explicit param of Rewriter::Rewrite 2017-03-27 20:24:00 +00:00
scanner-character-streams.cc Reland#2 [parser] Refactor streaming scanner streams. 2017-06-19 10:18:01 +00:00
scanner-character-streams.h [wasm][asm.js] Adding custom asm.js lexer. 2017-03-16 18:10:45 +00:00
scanner.cc Make some functions that are hit during renderer startup available for inlining 2017-06-26 18:17:05 +00:00
scanner.h Make some functions that are hit during renderer startup available for inlining 2017-06-26 18:17:05 +00:00
token.cc [parser] Introduce 'contextual keyword tokens'. 2017-03-28 12:43:23 +00:00
token.h [parser] Drop unused ROR token. 2017-06-28 11:49:23 +00:00