| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // The infrastructure used for (localized) message reporting in V8. | 5 // The infrastructure used for (localized) message reporting in V8. |
| 6 // | 6 // |
| 7 // Note: there's a big unresolved issue about ownership of the data | 7 // Note: there's a big unresolved issue about ownership of the data |
| 8 // structures used by this framework. | 8 // structures used by this framework. |
| 9 | 9 |
| 10 #ifndef V8_MESSAGES_H_ | 10 #ifndef V8_MESSAGES_H_ |
| (...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 T(UnterminatedRegExp, "Invalid regular expression: missing /") \ | 647 T(UnterminatedRegExp, "Invalid regular expression: missing /") \ |
| 648 T(UnterminatedTemplate, "Unterminated template literal") \ | 648 T(UnterminatedTemplate, "Unterminated template literal") \ |
| 649 T(UnterminatedTemplateExpr, "Missing } in template expression") \ | 649 T(UnterminatedTemplateExpr, "Missing } in template expression") \ |
| 650 T(FoundNonCallableHasInstance, "Found non-callable @@hasInstance") \ | 650 T(FoundNonCallableHasInstance, "Found non-callable @@hasInstance") \ |
| 651 T(InvalidHexEscapeSequence, "Invalid hexadecimal escape sequence") \ | 651 T(InvalidHexEscapeSequence, "Invalid hexadecimal escape sequence") \ |
| 652 T(InvalidUnicodeEscapeSequence, "Invalid Unicode escape sequence") \ | 652 T(InvalidUnicodeEscapeSequence, "Invalid Unicode escape sequence") \ |
| 653 T(UndefinedUnicodeCodePoint, "Undefined Unicode code-point") \ | 653 T(UndefinedUnicodeCodePoint, "Undefined Unicode code-point") \ |
| 654 T(YieldInParameter, "Yield expression not allowed in formal parameter") \ | 654 T(YieldInParameter, "Yield expression not allowed in formal parameter") \ |
| 655 /* EvalError */ \ | 655 /* EvalError */ \ |
| 656 T(CodeGenFromStrings, "%") \ | 656 T(CodeGenFromStrings, "%") \ |
| 657 T(NoSideEffectDebugEvaluate, "Possible side-effect in debug-evaluate") \ |
| 657 /* URIError */ \ | 658 /* URIError */ \ |
| 658 T(URIMalformed, "URI malformed") \ | 659 T(URIMalformed, "URI malformed") \ |
| 659 /* Wasm errors (currently Error) */ \ | 660 /* Wasm errors (currently Error) */ \ |
| 660 T(WasmTrapUnreachable, "unreachable") \ | 661 T(WasmTrapUnreachable, "unreachable") \ |
| 661 T(WasmTrapMemOutOfBounds, "memory access out of bounds") \ | 662 T(WasmTrapMemOutOfBounds, "memory access out of bounds") \ |
| 662 T(WasmTrapDivByZero, "divide by zero") \ | 663 T(WasmTrapDivByZero, "divide by zero") \ |
| 663 T(WasmTrapDivUnrepresentable, "divide result unrepresentable") \ | 664 T(WasmTrapDivUnrepresentable, "divide result unrepresentable") \ |
| 664 T(WasmTrapRemByZero, "remainder by zero") \ | 665 T(WasmTrapRemByZero, "remainder by zero") \ |
| 665 T(WasmTrapFloatUnrepresentable, "integer result unrepresentable") \ | 666 T(WasmTrapFloatUnrepresentable, "integer result unrepresentable") \ |
| 666 T(WasmTrapFuncInvalid, "invalid function") \ | 667 T(WasmTrapFuncInvalid, "invalid function") \ |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 const MessageLocation* loc, | 730 const MessageLocation* loc, |
| 730 Handle<Object> message_obj, | 731 Handle<Object> message_obj, |
| 731 v8::Local<v8::Value> api_exception_obj); | 732 v8::Local<v8::Value> api_exception_obj); |
| 732 }; | 733 }; |
| 733 | 734 |
| 734 | 735 |
| 735 } // namespace internal | 736 } // namespace internal |
| 736 } // namespace v8 | 737 } // namespace v8 |
| 737 | 738 |
| 738 #endif // V8_MESSAGES_H_ | 739 #endif // V8_MESSAGES_H_ |
| OLD | NEW |