• nikolaos's avatar
    [parser] Clean up (pre)parser traits, part 5, last · ba9367db
    nikolaos authored
    This patch moves the following methods from the traits objects to
    the (pre)parser implementation objects:
    
    - AddFormalParameter
    - AddParameterInitializationBlock
    - DeclareFormalParameter
    - ExpressionListToExpression
    - GetNonPatternList
    - GetReportedErrorList
    - IsTaggedTemplate
    - MaterializeUnspreadArgumentsLiterals
    - NoTemplateTag
    - ParseArrowFunctionFormalParameterList
    - ReindexLiterals
    - SetFunctionNameFromIdentifierRef
    - SetFunctionNameFromPropertyName
    
    It moves the Void method from the preparser traits object to the
    preparser implementation object.  It also removes the traits zone
    method and replaces it with that of ParserBase, which it turns to
    public.
    
    After all this, the traits objects contain just typedefs and the
    delegate methods are no more necessary.
    
    R=adamk@chromium.org, marja@chromium.org
    BUG=
    LOG=N
    
    Review-Url: https://codereview.chromium.org/2277843002
    Cr-Commit-Position: refs/heads/master@{#38892}
    ba9367db
Name
Last commit
Last update
..
OWNERS Loading commit data...
expression-classifier.h Loading commit data...
func-name-inferrer.cc Loading commit data...
func-name-inferrer.h Loading commit data...
parameter-initializer-rewriter.cc Loading commit data...
parameter-initializer-rewriter.h Loading commit data...
parse-info.cc Loading commit data...
parse-info.h Loading commit data...
parser-base.h Loading commit data...
parser.cc Loading commit data...
parser.h Loading commit data...
pattern-rewriter.cc Loading commit data...
preparse-data-format.h Loading commit data...
preparse-data.cc Loading commit data...
preparse-data.h Loading commit data...
preparser.cc Loading commit data...
preparser.h Loading commit data...
rewriter.cc Loading commit data...
rewriter.h Loading commit data...
scanner-character-streams.cc Loading commit data...
scanner-character-streams.h Loading commit data...
scanner.cc Loading commit data...
scanner.h Loading commit data...
token.cc Loading commit data...
token.h Loading commit data...