| OLD | NEW |
| 1 // Copyright 2007-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2007-2009 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 class Signature; | 122 class Signature; |
| 123 template <class T> class Handle; | 123 template <class T> class Handle; |
| 124 template <class T> class Local; | 124 template <class T> class Local; |
| 125 template <class T> class Persistent; | 125 template <class T> class Persistent; |
| 126 class FunctionTemplate; | 126 class FunctionTemplate; |
| 127 class ObjectTemplate; | 127 class ObjectTemplate; |
| 128 class Data; | 128 class Data; |
| 129 | 129 |
| 130 namespace internal { | 130 namespace internal { |
| 131 | 131 |
| 132 class Arguments; |
| 132 class Object; | 133 class Object; |
| 133 class Arguments; | 134 class Top; |
| 134 | 135 |
| 135 } | 136 } |
| 136 | 137 |
| 137 | 138 |
| 138 // --- W e a k H a n d l e s | 139 // --- W e a k H a n d l e s |
| 139 | 140 |
| 140 | 141 |
| 141 /** | 142 /** |
| 142 * A weak reference callback function. | 143 * A weak reference callback function. |
| 143 * | 144 * |
| (...skipping 2381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2525 */ | 2526 */ |
| 2526 void SetVerbose(bool value); | 2527 void SetVerbose(bool value); |
| 2527 | 2528 |
| 2528 /** | 2529 /** |
| 2529 * Set whether or not this TryCatch should capture a Message object | 2530 * Set whether or not this TryCatch should capture a Message object |
| 2530 * which holds source information about where the exception | 2531 * which holds source information about where the exception |
| 2531 * occurred. True by default. | 2532 * occurred. True by default. |
| 2532 */ | 2533 */ |
| 2533 void SetCaptureMessage(bool value); | 2534 void SetCaptureMessage(bool value); |
| 2534 | 2535 |
| 2535 public: | 2536 private: |
| 2536 TryCatch* next_; | 2537 void* next_; |
| 2537 void* exception_; | 2538 void* exception_; |
| 2538 void* message_; | 2539 void* message_; |
| 2539 bool is_verbose_ : 1; | 2540 bool is_verbose_ : 1; |
| 2540 bool can_continue_ : 1; | 2541 bool can_continue_ : 1; |
| 2541 bool capture_message_ : 1; | 2542 bool capture_message_ : 1; |
| 2542 bool rethrow_ : 1; | 2543 bool rethrow_ : 1; |
| 2543 void* js_handler_; | 2544 |
| 2545 friend class v8::internal::Top; |
| 2544 }; | 2546 }; |
| 2545 | 2547 |
| 2546 | 2548 |
| 2547 // --- C o n t e x t --- | 2549 // --- C o n t e x t --- |
| 2548 | 2550 |
| 2549 | 2551 |
| 2550 /** | 2552 /** |
| 2551 * Ignore | 2553 * Ignore |
| 2552 */ | 2554 */ |
| 2553 class V8EXPORT ExtensionConfiguration { | 2555 class V8EXPORT ExtensionConfiguration { |
| (...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3204 | 3206 |
| 3205 } // namespace v8 | 3207 } // namespace v8 |
| 3206 | 3208 |
| 3207 | 3209 |
| 3208 #undef V8EXPORT | 3210 #undef V8EXPORT |
| 3209 #undef V8EXPORT_INLINE | 3211 #undef V8EXPORT_INLINE |
| 3210 #undef TYPE_CHECK | 3212 #undef TYPE_CHECK |
| 3211 | 3213 |
| 3212 | 3214 |
| 3213 #endif // V8_H_ | 3215 #endif // V8_H_ |
| OLD | NEW |