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

Side by Side Diff: src/preparser.h

Issue 168583008: (Pre)Parser: Simplify NewExpression handling (fixed). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: one more comment 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);
858 Expression ParseMemberExpression(bool* ok); 857 Expression ParseMemberExpression(bool* ok);
859 Expression ParseMemberWithNewPrefixesExpression(unsigned new_count, bool* ok); 858 Expression ParseMemberExpressionContinuation(PreParserExpression expression,
859 bool* ok);
860 Expression ParseMemberWithNewPrefixesExpression(bool* ok);
860 Expression ParseArrayLiteral(bool* ok); 861 Expression ParseArrayLiteral(bool* ok);
861 Expression ParseObjectLiteral(bool* ok); 862 Expression ParseObjectLiteral(bool* ok);
862 Expression ParseV8Intrinsic(bool* ok); 863 Expression ParseV8Intrinsic(bool* ok);
863 864
864 Arguments ParseArguments(bool* ok); 865 Arguments ParseArguments(bool* ok);
865 Expression ParseFunctionLiteral( 866 Expression ParseFunctionLiteral(
866 Identifier name, 867 Identifier name,
867 Scanner::Location function_name_location, 868 Scanner::Location function_name_location,
868 bool name_is_strict_reserved, 869 bool name_is_strict_reserved,
869 bool is_generator, 870 bool is_generator,
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 "accessor_get_set"); 1186 "accessor_get_set");
1186 } 1187 }
1187 *ok = false; 1188 *ok = false;
1188 } 1189 }
1189 } 1190 }
1190 1191
1191 1192
1192 } } // v8::internal 1193 } } // v8::internal
1193 1194
1194 #endif // V8_PREPARSER_H 1195 #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