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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 template<typename T> class PropertyCallbackInfo; | 132 template<typename T> class PropertyCallbackInfo; |
133 class StackTrace; | 133 class StackTrace; |
134 class StackFrame; | 134 class StackFrame; |
135 class Isolate; | 135 class Isolate; |
136 class CallHandlerHelper; | 136 class CallHandlerHelper; |
137 class EscapableHandleScope; | 137 class EscapableHandleScope; |
138 template<typename T> class ReturnValue; | 138 template<typename T> class ReturnValue; |
139 | 139 |
140 namespace internal { | 140 namespace internal { |
141 class Arguments; | 141 class Arguments; |
| 142 class ConsoleCallArguments; |
142 class Heap; | 143 class Heap; |
143 class HeapObject; | 144 class HeapObject; |
144 class Isolate; | 145 class Isolate; |
145 class Object; | 146 class Object; |
146 struct StreamedSource; | 147 struct StreamedSource; |
147 template<typename T> class CustomArguments; | 148 template<typename T> class CustomArguments; |
148 class PropertyCallbackArguments; | 149 class PropertyCallbackArguments; |
149 class FunctionCallbackArguments; | 150 class FunctionCallbackArguments; |
150 class GlobalHandles; | 151 class GlobalHandles; |
151 } // namespace internal | 152 } // namespace internal |
(...skipping 3407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3559 V8_INLINE bool IsConstructCall() const; | 3560 V8_INLINE bool IsConstructCall() const; |
3560 V8_INLINE Local<Value> Data() const; | 3561 V8_INLINE Local<Value> Data() const; |
3561 V8_INLINE Isolate* GetIsolate() const; | 3562 V8_INLINE Isolate* GetIsolate() const; |
3562 V8_INLINE ReturnValue<T> GetReturnValue() const; | 3563 V8_INLINE ReturnValue<T> GetReturnValue() const; |
3563 // This shouldn't be public, but the arm compiler needs it. | 3564 // This shouldn't be public, but the arm compiler needs it. |
3564 static const int kArgsLength = 8; | 3565 static const int kArgsLength = 8; |
3565 | 3566 |
3566 protected: | 3567 protected: |
3567 friend class internal::FunctionCallbackArguments; | 3568 friend class internal::FunctionCallbackArguments; |
3568 friend class internal::CustomArguments<FunctionCallbackInfo>; | 3569 friend class internal::CustomArguments<FunctionCallbackInfo>; |
| 3570 friend class internal::ConsoleCallArguments; |
3569 static const int kHolderIndex = 0; | 3571 static const int kHolderIndex = 0; |
3570 static const int kIsolateIndex = 1; | 3572 static const int kIsolateIndex = 1; |
3571 static const int kReturnValueDefaultValueIndex = 2; | 3573 static const int kReturnValueDefaultValueIndex = 2; |
3572 static const int kReturnValueIndex = 3; | 3574 static const int kReturnValueIndex = 3; |
3573 static const int kDataIndex = 4; | 3575 static const int kDataIndex = 4; |
3574 static const int kCalleeIndex = 5; | 3576 static const int kCalleeIndex = 5; |
3575 static const int kContextSaveIndex = 6; | 3577 static const int kContextSaveIndex = 6; |
3576 static const int kNewTargetIndex = 7; | 3578 static const int kNewTargetIndex = 7; |
3577 | 3579 |
3578 V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args, | 3580 V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args, |
(...skipping 6411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9990 */ | 9992 */ |
9991 | 9993 |
9992 | 9994 |
9993 } // namespace v8 | 9995 } // namespace v8 |
9994 | 9996 |
9995 | 9997 |
9996 #undef TYPE_CHECK | 9998 #undef TYPE_CHECK |
9997 | 9999 |
9998 | 10000 |
9999 #endif // INCLUDE_V8_H_ | 10001 #endif // INCLUDE_V8_H_ |
OLD | NEW |