Description[parser] Refactor of (Parse|Desugar)*(Async|Arrow)*
This patch moves the following parsing method to ParserBase:
- DesugarAsyncFunctionBody, renamed to ParseAsyncFunctionBody
- ParseAsyncFunctionExpression, renamed to ParseAsyncFunctionLiteral
- ParseAsyncFunctionDeclaration
It renames the parser implementation methods:
- ParseArrowFunctionFormalParameterList -> DeclareArrowFunctionFormalParameters
- ParseArrowFunctionFormalParameters -> AddArrowFunctionFormalParameters
It also eliminates method ParseAsyncArrowSingleExpressionBody.
R=adamk@chromium.org, marja@chromium.org
BUG=
LOG=N
Committed: https://crrev.com/dfb90f7c6248d782ee8d33ece67e4db24c791c03
Cr-Commit-Position: refs/heads/master@{#39788}
Patch Set 1 : Just moving code (broken) #Patch Set 2 : The real patch #Patch Set 3 : Change after offline discussion with reviewers #Patch Set 4 : Rebase #
Messages
Total messages: 18 (11 generated)
|