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

Side by Side Diff: src/preparser.h

Issue 166943002: (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
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 ParseMemberWithNewPrefixesExpression(bool* ok);
860 Expression ParseArrayLiteral(bool* ok); 859 Expression ParseArrayLiteral(bool* ok);
861 Expression ParseObjectLiteral(bool* ok); 860 Expression ParseObjectLiteral(bool* ok);
862 Expression ParseV8Intrinsic(bool* ok); 861 Expression ParseV8Intrinsic(bool* ok);
863 862
864 Arguments ParseArguments(bool* ok); 863 Arguments ParseArguments(bool* ok);
865 Expression ParseFunctionLiteral( 864 Expression ParseFunctionLiteral(
866 Identifier name, 865 Identifier name,
867 Scanner::Location function_name_location, 866 Scanner::Location function_name_location,
868 bool name_is_strict_reserved, 867 bool name_is_strict_reserved,
869 bool is_generator, 868 bool is_generator,
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
1185 "accessor_get_set"); 1184 "accessor_get_set");
1186 } 1185 }
1187 *ok = false; 1186 *ok = false;
1188 } 1187 }
1189 } 1188 }
1190 1189
1191 1190
1192 } } // v8::internal 1191 } } // v8::internal
1193 1192
1194 #endif // V8_PREPARSER_H 1193 #endif // V8_PREPARSER_H
OLDNEW
« src/parser.cc ('K') | « src/parser.cc ('k') | src/preparser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698