| 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 #ifndef V8_ACCESSORS_H_ | 5 #ifndef V8_ACCESSORS_H_ |
| 6 #define V8_ACCESSORS_H_ | 6 #define V8_ACCESSORS_H_ |
| 7 | 7 |
| 8 #include "include/v8.h" | 8 #include "include/v8.h" |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/globals.h" | 10 #include "src/globals.h" |
| 11 #include "src/handles.h" | 11 #include "src/handles.h" |
| 12 #include "src/property-details.h" | 12 #include "src/property-details.h" |
| 13 | 13 |
| 14 namespace v8 { | 14 namespace v8 { |
| 15 namespace internal { | 15 namespace internal { |
| 16 | 16 |
| 17 // Forward declarations. | 17 // Forward declarations. |
| 18 class AccessorInfo; | 18 class AccessorInfo; |
| 19 | 19 |
| 20 // The list of accessor descriptors. This is a second-order macro | 20 // The list of accessor descriptors. This is a second-order macro |
| 21 // taking a macro to be applied to all accessor descriptor names. | 21 // taking a macro to be applied to all accessor descriptor names. |
| 22 #define ACCESSOR_INFO_LIST(V) \ | 22 #define ACCESSOR_INFO_LIST(V) \ |
| 23 V(ArgumentsIterator) \ | 23 V(ArgumentsIterator) \ |
| 24 V(ArrayLength) \ | 24 V(ArrayLength) \ |
| 25 V(BoundFunctionLength) \ |
| 26 V(BoundFunctionName) \ |
| 25 V(FunctionArguments) \ | 27 V(FunctionArguments) \ |
| 26 V(FunctionCaller) \ | 28 V(FunctionCaller) \ |
| 27 V(FunctionName) \ | 29 V(FunctionName) \ |
| 28 V(FunctionLength) \ | 30 V(FunctionLength) \ |
| 29 V(FunctionPrototype) \ | 31 V(FunctionPrototype) \ |
| 30 V(ScriptColumnOffset) \ | 32 V(ScriptColumnOffset) \ |
| 31 V(ScriptCompilationType) \ | 33 V(ScriptCompilationType) \ |
| 32 V(ScriptContextData) \ | 34 V(ScriptContextData) \ |
| 33 V(ScriptEvalFromScript) \ | 35 V(ScriptEvalFromScript) \ |
| 34 V(ScriptEvalFromScriptPosition) \ | 36 V(ScriptEvalFromScriptPosition) \ |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 Handle<Name> name, | 109 Handle<Name> name, |
| 108 AccessorNameGetterCallback getter, | 110 AccessorNameGetterCallback getter, |
| 109 AccessorNameSetterCallback setter, | 111 AccessorNameSetterCallback setter, |
| 110 PropertyAttributes attributes); | 112 PropertyAttributes attributes); |
| 111 }; | 113 }; |
| 112 | 114 |
| 113 } // namespace internal | 115 } // namespace internal |
| 114 } // namespace v8 | 116 } // namespace v8 |
| 115 | 117 |
| 116 #endif // V8_ACCESSORS_H_ | 118 #endif // V8_ACCESSORS_H_ |
| OLD | NEW |