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 4521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4532 STATEMENT_POSITION | 4532 STATEMENT_POSITION |
4533 }; | 4533 }; |
4534 | 4534 |
4535 // Type of event. | 4535 // Type of event. |
4536 EventType type; | 4536 EventType type; |
4537 // Start of the instructions. | 4537 // Start of the instructions. |
4538 void* code_start; | 4538 void* code_start; |
4539 // Size of the instructions. | 4539 // Size of the instructions. |
4540 size_t code_len; | 4540 size_t code_len; |
4541 // Script info for CODE_ADDED event. | 4541 // Script info for CODE_ADDED event. |
4542 Handle<Script> script; | 4542 Handle<UnboundScript> script; |
4543 // User-defined data for *_LINE_INFO_* event. It's used to hold the source | 4543 // User-defined data for *_LINE_INFO_* event. It's used to hold the source |
4544 // code line information which is returned from the | 4544 // code line information which is returned from the |
4545 // CODE_START_LINE_INFO_RECORDING event. And it's passed to subsequent | 4545 // CODE_START_LINE_INFO_RECORDING event. And it's passed to subsequent |
4546 // CODE_ADD_LINE_POS_INFO and CODE_END_LINE_INFO_RECORDING events. | 4546 // CODE_ADD_LINE_POS_INFO and CODE_END_LINE_INFO_RECORDING events. |
4547 void* user_data; | 4547 void* user_data; |
4548 | 4548 |
4549 struct name_t { | 4549 struct name_t { |
4550 // Name of the object associated with the code, note that the string is not | 4550 // Name of the object associated with the code, note that the string is not |
4551 // zero-terminated. | 4551 // zero-terminated. |
4552 const char* str; | 4552 const char* str; |
(...skipping 2148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6701 */ | 6701 */ |
6702 | 6702 |
6703 | 6703 |
6704 } // namespace v8 | 6704 } // namespace v8 |
6705 | 6705 |
6706 | 6706 |
6707 #undef TYPE_CHECK | 6707 #undef TYPE_CHECK |
6708 | 6708 |
6709 | 6709 |
6710 #endif // V8_H_ | 6710 #endif // V8_H_ |
OLD | NEW |