Description[parser] Refactor of Parse*Statement*, part 6
This patch moves the following parsing method to ParserBase:
- ParseSwitchStatement
It also removes ParseCaseClause and merges it with ParseSwitchStatement,
mainly to avoid the complexity of introducing one more abstract typedef
to be shared between parser implementations, but also because the merged
ParseSwitchStatement is now only 59 lines.
R=adamk@chromium.org, marja@chromium.org
BUG=
LOG=N
Committed: https://crrev.com/e850ed2a1e077b41e2a8a7bb9a6b8a838a0be438
Cr-Commit-Position: refs/heads/master@{#39337}
Patch Set 1 : Just moving code (broken) #Patch Set 2 : The real patch #
Total comments: 6
Patch Set 3 : Change after reviewers' comments #Patch Set 4 : Rebase #
Total comments: 2
Patch Set 5 : Reorder methods #
Messages
Total messages: 16 (7 generated)
|