Description[parser] Modify some const qualifications
This patch const-qualifies some methods of ParserBase.
It also unqualifies some methods of Parser and Preparser.
The reason for the latter is that, in principle, the methods
of AstNodeFactory should be allowed to change the factory's
state, therefore should not be const and should not be used
from const-qualified parser/pre-parser methods.
R=adamk@chromium.org, marja@chromium.org
BUG=
LOG=N
Committed: https://crrev.com/dc18cc1d4f4ac2f50111ccfa2f93ca9d10f4c54b
Cr-Commit-Position: refs/heads/master@{#38813}
Patch Set 1 #Patch Set 2 : Drop changes in AstNodeFactory #Patch Set 3 : Rebase #Patch Set 4 : Formatting #Patch Set 5 : Rebase #
Messages
Total messages: 31 (17 generated)
|