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