OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
6 * | 6 * |
7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
8 * | 8 * |
9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1102 | 1102 |
1103 /** | 1103 /** |
1104 * An error message. | 1104 * An error message. |
1105 */ | 1105 */ |
1106 class V8_EXPORT Message { | 1106 class V8_EXPORT Message { |
1107 public: | 1107 public: |
1108 Local<String> Get() const; | 1108 Local<String> Get() const; |
1109 Local<String> GetSourceLine() const; | 1109 Local<String> GetSourceLine() const; |
1110 | 1110 |
1111 /** | 1111 /** |
| 1112 * Returns the origin for the script from where the function causing the |
| 1113 * error originates. |
| 1114 */ |
| 1115 ScriptOrigin GetScriptOrigin() const; |
| 1116 |
| 1117 /** |
1112 * Returns the resource name for the script from where the function causing | 1118 * Returns the resource name for the script from where the function causing |
1113 * the error originates. | 1119 * the error originates. |
1114 */ | 1120 */ |
1115 Handle<Value> GetScriptResourceName() const; | 1121 Handle<Value> GetScriptResourceName() const; |
1116 | 1122 |
1117 /** | 1123 /** |
1118 * Exception stack trace. By default stack traces are not captured for | 1124 * Exception stack trace. By default stack traces are not captured for |
1119 * uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows | 1125 * uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows |
1120 * to change this option. | 1126 * to change this option. |
1121 */ | 1127 */ |
(...skipping 5531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6653 */ | 6659 */ |
6654 | 6660 |
6655 | 6661 |
6656 } // namespace v8 | 6662 } // namespace v8 |
6657 | 6663 |
6658 | 6664 |
6659 #undef TYPE_CHECK | 6665 #undef TYPE_CHECK |
6660 | 6666 |
6661 | 6667 |
6662 #endif // V8_H_ | 6668 #endif // V8_H_ |
OLD | NEW |