Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1522)

Side by Side Diff: src/preparser.h

Issue 164183006: Revert "(Pre)Parser: Simplify NewExpression handling." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/parser.cc ('k') | src/preparser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 Statement ParseDebuggerStatement(bool* ok); 847 Statement ParseDebuggerStatement(bool* ok);
848 848
849 Expression ParseExpression(bool accept_IN, bool* ok); 849 Expression ParseExpression(bool accept_IN, bool* ok);
850 Expression ParseAssignmentExpression(bool accept_IN, bool* ok); 850 Expression ParseAssignmentExpression(bool accept_IN, bool* ok);
851 Expression ParseYieldExpression(bool* ok); 851 Expression ParseYieldExpression(bool* ok);
852 Expression ParseConditionalExpression(bool accept_IN, bool* ok); 852 Expression ParseConditionalExpression(bool accept_IN, bool* ok);
853 Expression ParseBinaryExpression(int prec, bool accept_IN, bool* ok); 853 Expression ParseBinaryExpression(int prec, bool accept_IN, bool* ok);
854 Expression ParseUnaryExpression(bool* ok); 854 Expression ParseUnaryExpression(bool* ok);
855 Expression ParsePostfixExpression(bool* ok); 855 Expression ParsePostfixExpression(bool* ok);
856 Expression ParseLeftHandSideExpression(bool* ok); 856 Expression ParseLeftHandSideExpression(bool* ok);
857 Expression ParseNewExpression(bool* ok);
857 Expression ParseMemberExpression(bool* ok); 858 Expression ParseMemberExpression(bool* ok);
858 Expression ParseMemberWithNewPrefixesExpression(bool* ok); 859 Expression ParseMemberWithNewPrefixesExpression(unsigned new_count, bool* ok);
859 Expression ParseArrayLiteral(bool* ok); 860 Expression ParseArrayLiteral(bool* ok);
860 Expression ParseObjectLiteral(bool* ok); 861 Expression ParseObjectLiteral(bool* ok);
861 Expression ParseV8Intrinsic(bool* ok); 862 Expression ParseV8Intrinsic(bool* ok);
862 863
863 Arguments ParseArguments(bool* ok); 864 Arguments ParseArguments(bool* ok);
864 Expression ParseFunctionLiteral( 865 Expression ParseFunctionLiteral(
865 Identifier name, 866 Identifier name,
866 Scanner::Location function_name_location, 867 Scanner::Location function_name_location,
867 bool name_is_strict_reserved, 868 bool name_is_strict_reserved,
868 bool is_generator, 869 bool is_generator,
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 "accessor_get_set"); 1185 "accessor_get_set");
1185 } 1186 }
1186 *ok = false; 1187 *ok = false;
1187 } 1188 }
1188 } 1189 }
1189 1190
1190 1191
1191 } } // v8::internal 1192 } } // v8::internal
1192 1193
1193 #endif // V8_PREPARSER_H 1194 #endif // V8_PREPARSER_H
OLDNEW
« no previous file with comments | « src/parser.cc ('k') | src/preparser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698