v8/src/parsing
nikolaos 7f5c864a6f This patch implements an alternative approach to the rewriting
of non-pattern expressions, according to the (internally circulated)
design document.  Details to be provided here.

1.  RewritableAssignmentExpression has been renamed to RewritableExpression.
    It is a wrapper for AST nodes that wait for some potential rewriting
    (that may or may not happen).  Also, Is... and As... macros now see
    through RewritableExpressions.

2.  The function state keeps a list of rewritable expressions that must be
    rewritten only if they are used as non-pattern expressions.

3.  Expression classifiers are now templates, parameterized by parser
    traits.  They keep some additional state: a pointer to the list of
    non-pattern rewritable expressions.  It is important that expression
    classifiers be used strictly in a stack fashion, from now on.

4.  The RewriteNonPattern function has been simplified.

BUG=chromium:579913
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#34154}
2016-02-19 14:04:23 +00:00
..
expression-classifier.h This patch implements an alternative approach to the rewriting 2016-02-19 14:04:23 +00:00
func-name-inferrer.cc
func-name-inferrer.h Fix FuncNameInferrer usage in ParseAssignmentExpression 2015-12-10 19:19:35 +00:00
OWNERS Add more OWNER files 2015-12-07 12:52:12 +00:00
parameter-initializer-rewriter.cc Fix for temporaries in parameter initializers 2016-01-08 15:44:26 +00:00
parameter-initializer-rewriter.h
parser-base.h This patch implements an alternative approach to the rewriting 2016-02-19 14:04:23 +00:00
parser.cc This patch implements an alternative approach to the rewriting 2016-02-19 14:04:23 +00:00
parser.h This patch implements an alternative approach to the rewriting 2016-02-19 14:04:23 +00:00
pattern-rewriter.cc This patch implements an alternative approach to the rewriting 2016-02-19 14:04:23 +00:00
preparse-data-format.h
preparse-data.cc
preparse-data.h
preparser.cc This patch implements an alternative approach to the rewriting 2016-02-19 14:04:23 +00:00
preparser.h This patch implements an alternative approach to the rewriting 2016-02-19 14:04:23 +00:00
rewriter.cc [es6] Implement for-of iterator finalization 2016-02-18 10:49:55 +00:00
rewriter.h
scanner-character-streams.cc [regexp] correctly parse non-BMP unicode escapes in atoms. 2016-01-11 14:19:21 +00:00
scanner-character-streams.h
scanner.cc Revert "Removed support deprecated (//@|/*@) source(URL|MappingURL)=" 2016-02-03 18:45:36 +00:00
scanner.h Add use counters for how often we encounter html comments in scripts 2016-01-27 18:19:20 +00:00
token.cc
token.h [parsing] Move EvalComparison out of the assembler. 2016-01-15 13:14:08 +00:00