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 904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 } | 915 } |
916 | 916 |
917 PreParserExpression NewThrowReferenceError(const char* type, int pos) { | 917 PreParserExpression NewThrowReferenceError(const char* type, int pos) { |
918 return PreParserExpression::Default(); | 918 return PreParserExpression::Default(); |
919 } | 919 } |
920 PreParserExpression NewThrowSyntaxError( | 920 PreParserExpression NewThrowSyntaxError( |
921 const char* type, Handle<Object> arg, int pos) { | 921 const char* type, Handle<Object> arg, int pos) { |
922 return PreParserExpression::Default(); | 922 return PreParserExpression::Default(); |
923 } | 923 } |
924 PreParserExpression NewThrowTypeError( | 924 PreParserExpression NewThrowTypeError( |
925 const char* type, Handle<Object> arg1, Handle<Object> arg2, int pos) { | 925 const char* type, Handle<Object> arg, int pos) { |
926 return PreParserExpression::Default(); | 926 return PreParserExpression::Default(); |
927 } | 927 } |
928 | 928 |
929 // Reporting errors. | 929 // Reporting errors. |
930 void ReportMessageAt(Scanner::Location location, | 930 void ReportMessageAt(Scanner::Location location, |
931 const char* message, | 931 const char* message, |
932 Vector<const char*> args, | 932 Vector<const char*> args, |
933 bool is_reference_error = false); | 933 bool is_reference_error = false); |
934 void ReportMessageAt(Scanner::Location location, | 934 void ReportMessageAt(Scanner::Location location, |
935 const char* type, | 935 const char* type, |
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2177 "accessor_get_set"); | 2177 "accessor_get_set"); |
2178 } | 2178 } |
2179 *ok = false; | 2179 *ok = false; |
2180 } | 2180 } |
2181 } | 2181 } |
2182 | 2182 |
2183 | 2183 |
2184 } } // v8::internal | 2184 } } // v8::internal |
2185 | 2185 |
2186 #endif // V8_PREPARSER_H | 2186 #endif // V8_PREPARSER_H |
OLD | NEW |