| 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" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 V(ScriptEvalFromScript) \ | 36 V(ScriptEvalFromScript) \ |
| 37 V(ScriptEvalFromScriptPosition) \ | 37 V(ScriptEvalFromScriptPosition) \ |
| 38 V(ScriptEvalFromFunctionName) \ | 38 V(ScriptEvalFromFunctionName) \ |
| 39 V(ScriptId) \ | 39 V(ScriptId) \ |
| 40 V(ScriptLineOffset) \ | 40 V(ScriptLineOffset) \ |
| 41 V(ScriptName) \ | 41 V(ScriptName) \ |
| 42 V(ScriptSource) \ | 42 V(ScriptSource) \ |
| 43 V(ScriptType) \ | 43 V(ScriptType) \ |
| 44 V(ScriptSourceUrl) \ | 44 V(ScriptSourceUrl) \ |
| 45 V(ScriptSourceMappingUrl) \ | 45 V(ScriptSourceMappingUrl) \ |
| 46 V(ScriptIsEmbedderDebugScript) \ | |
| 47 V(StringLength) | 46 V(StringLength) |
| 48 | 47 |
| 49 #define ACCESSOR_SETTER_LIST(V) \ | 48 #define ACCESSOR_SETTER_LIST(V) \ |
| 50 V(ArrayLengthSetter) \ | 49 V(ArrayLengthSetter) \ |
| 51 V(ErrorStackSetter) \ | 50 V(ErrorStackSetter) \ |
| 52 V(FunctionPrototypeSetter) \ | 51 V(FunctionPrototypeSetter) \ |
| 53 V(ModuleNamespaceEntrySetter) \ | 52 V(ModuleNamespaceEntrySetter) \ |
| 54 V(ReconfigureToDataProperty) | 53 V(ReconfigureToDataProperty) |
| 55 | 54 |
| 56 // Accessors contains all predefined proxy accessors. | 55 // Accessors contains all predefined proxy accessors. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 112 |
| 114 static Handle<AccessorInfo> MakeAccessor( | 113 static Handle<AccessorInfo> MakeAccessor( |
| 115 Isolate* isolate, Handle<Name> name, AccessorNameGetterCallback getter, | 114 Isolate* isolate, Handle<Name> name, AccessorNameGetterCallback getter, |
| 116 AccessorNameBooleanSetterCallback setter, PropertyAttributes attributes); | 115 AccessorNameBooleanSetterCallback setter, PropertyAttributes attributes); |
| 117 }; | 116 }; |
| 118 | 117 |
| 119 } // namespace internal | 118 } // namespace internal |
| 120 } // namespace v8 | 119 } // namespace v8 |
| 121 | 120 |
| 122 #endif // V8_ACCESSORS_H_ | 121 #endif // V8_ACCESSORS_H_ |
| OLD | NEW |