Description(Pre)Parser: Move ParsePrimaryExpression to ParserBase.
Notes:
- To be able to move the recursive descent functions to ParserBase one at a
time, we temporarily need routing functions from traits to Parser/PreParser,
since the recursive descent functions form a cyclic structure.
- PreParser used to always allow intrinsic syntax. After this CL, it depends on
allow_natives_syntax() which was already in ParserBase.
- This CL also decouples (Pre)ParserTraits better from (Pre)Parser, passing more
information as parameters, so that the Traits don't need to get it from
(Pre)Parser.
R=ulan@chromium.org
BUG=v8:3126
LOG=N
Committed: https://code.google.com/p/v8/source/detail?r=19374
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : moar #Patch Set 4 : . #Patch Set 5 : #Patch Set 6 : ws #
Messages
Total messages: 3 (0 generated)
|