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 6480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6491 /** | 6491 /** |
6492 * An external exception handler. | 6492 * An external exception handler. |
6493 */ | 6493 */ |
6494 class V8_EXPORT TryCatch { | 6494 class V8_EXPORT TryCatch { |
6495 public: | 6495 public: |
6496 /** | 6496 /** |
6497 * Creates a new try/catch block and registers it with v8. Note that | 6497 * Creates a new try/catch block and registers it with v8. Note that |
6498 * all TryCatch blocks should be stack allocated because the memory | 6498 * all TryCatch blocks should be stack allocated because the memory |
6499 * location itself is compared against JavaScript try/catch blocks. | 6499 * location itself is compared against JavaScript try/catch blocks. |
6500 */ | 6500 */ |
6501 V8_DEPRECATE_SOON("Use isolate version", TryCatch()); | 6501 V8_DEPRECATED("Use isolate version", TryCatch()); |
6502 | 6502 |
6503 /** | 6503 /** |
6504 * Creates a new try/catch block and registers it with v8. Note that | 6504 * Creates a new try/catch block and registers it with v8. Note that |
6505 * all TryCatch blocks should be stack allocated because the memory | 6505 * all TryCatch blocks should be stack allocated because the memory |
6506 * location itself is compared against JavaScript try/catch blocks. | 6506 * location itself is compared against JavaScript try/catch blocks. |
6507 */ | 6507 */ |
6508 TryCatch(Isolate* isolate); | 6508 TryCatch(Isolate* isolate); |
6509 | 6509 |
6510 /** | 6510 /** |
6511 * Unregisters and deletes this try/catch block. | 6511 * Unregisters and deletes this try/catch block. |
(...skipping 1969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8481 */ | 8481 */ |
8482 | 8482 |
8483 | 8483 |
8484 } // namespace v8 | 8484 } // namespace v8 |
8485 | 8485 |
8486 | 8486 |
8487 #undef TYPE_CHECK | 8487 #undef TYPE_CHECK |
8488 | 8488 |
8489 | 8489 |
8490 #endif // V8_H_ | 8490 #endif // V8_H_ |
OLD | NEW |