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 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1124 Local<String> Get() const; | 1124 Local<String> Get() const; |
1125 Local<String> GetSourceLine() const; | 1125 Local<String> GetSourceLine() const; |
1126 | 1126 |
1127 /** | 1127 /** |
1128 * Returns the resource name for the script from where the function causing | 1128 * Returns the resource name for the script from where the function causing |
1129 * the error originates. | 1129 * the error originates. |
1130 */ | 1130 */ |
1131 Handle<Value> GetScriptResourceName() const; | 1131 Handle<Value> GetScriptResourceName() const; |
1132 | 1132 |
1133 /** | 1133 /** |
1134 * Returns the resource data for the script from where the function causing | |
1135 * the error originates. | |
1136 */ | |
1137 Handle<Value> GetScriptData() const; | |
1138 | |
1139 /** | |
1140 * Exception stack trace. By default stack traces are not captured for | 1134 * Exception stack trace. By default stack traces are not captured for |
1141 * uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows | 1135 * uncaught exceptions. SetCaptureStackTraceForUncaughtExceptions allows |
1142 * to change this option. | 1136 * to change this option. |
1143 */ | 1137 */ |
1144 Handle<StackTrace> GetStackTrace() const; | 1138 Handle<StackTrace> GetStackTrace() const; |
1145 | 1139 |
1146 /** | 1140 /** |
1147 * Returns the number, 1-based, of the line where the error occurred. | 1141 * Returns the number, 1-based, of the line where the error occurred. |
1148 */ | 1142 */ |
1149 int GetLineNumber() const; | 1143 int GetLineNumber() const; |
(...skipping 5479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6629 */ | 6623 */ |
6630 | 6624 |
6631 | 6625 |
6632 } // namespace v8 | 6626 } // namespace v8 |
6633 | 6627 |
6634 | 6628 |
6635 #undef TYPE_CHECK | 6629 #undef TYPE_CHECK |
6636 | 6630 |
6637 | 6631 |
6638 #endif // V8_H_ | 6632 #endif // V8_H_ |
OLD | NEW |