| OLD | NEW |
| 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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 Expression ParseMemberWithNewPrefixesExpression(bool* ok); | 896 Expression ParseMemberWithNewPrefixesExpression(bool* ok); |
| 897 Expression ParseObjectLiteral(bool* ok); | 897 Expression ParseObjectLiteral(bool* ok); |
| 898 Expression ParseV8Intrinsic(bool* ok); | 898 Expression ParseV8Intrinsic(bool* ok); |
| 899 | 899 |
| 900 Arguments ParseArguments(bool* ok); | 900 Arguments ParseArguments(bool* ok); |
| 901 Expression ParseFunctionLiteral( | 901 Expression ParseFunctionLiteral( |
| 902 Identifier name, | 902 Identifier name, |
| 903 Scanner::Location function_name_location, | 903 Scanner::Location function_name_location, |
| 904 bool name_is_strict_reserved, | 904 bool name_is_strict_reserved, |
| 905 bool is_generator, | 905 bool is_generator, |
| 906 int function_token_pos, |
| 907 FunctionLiteral::FunctionType function_type, |
| 906 bool* ok); | 908 bool* ok); |
| 907 void ParseLazyFunctionLiteralBody(bool* ok); | 909 void ParseLazyFunctionLiteralBody(bool* ok); |
| 908 | 910 |
| 909 // Logs the currently parsed literal as a symbol in the preparser data. | 911 // Logs the currently parsed literal as a symbol in the preparser data. |
| 910 void LogSymbol(); | 912 void LogSymbol(); |
| 911 // Log the currently parsed string literal. | 913 // Log the currently parsed string literal. |
| 912 Expression GetStringSymbol(); | 914 Expression GetStringSymbol(); |
| 913 | 915 |
| 914 bool CheckInOrOf(bool accept_OF); | 916 bool CheckInOrOf(bool accept_OF); |
| 915 | 917 |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 "accessor_get_set"); | 1274 "accessor_get_set"); |
| 1273 } | 1275 } |
| 1274 *ok = false; | 1276 *ok = false; |
| 1275 } | 1277 } |
| 1276 } | 1278 } |
| 1277 | 1279 |
| 1278 | 1280 |
| 1279 } } // v8::internal | 1281 } } // v8::internal |
| 1280 | 1282 |
| 1281 #endif // V8_PREPARSER_H | 1283 #endif // V8_PREPARSER_H |
| OLD | NEW |