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 19 matching lines...) Expand all Loading... |
30 V(FunctionName) \ | 30 V(FunctionName) \ |
31 V(FunctionLength) \ | 31 V(FunctionLength) \ |
32 V(FunctionPrototype) \ | 32 V(FunctionPrototype) \ |
33 V(ScriptColumnOffset) \ | 33 V(ScriptColumnOffset) \ |
34 V(ScriptCompilationType) \ | 34 V(ScriptCompilationType) \ |
35 V(ScriptContextData) \ | 35 V(ScriptContextData) \ |
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(ScriptLineEnds) \ | |
41 V(ScriptLineOffset) \ | 40 V(ScriptLineOffset) \ |
42 V(ScriptName) \ | 41 V(ScriptName) \ |
43 V(ScriptSource) \ | 42 V(ScriptSource) \ |
44 V(ScriptType) \ | 43 V(ScriptType) \ |
45 V(ScriptSourceUrl) \ | 44 V(ScriptSourceUrl) \ |
46 V(ScriptSourceMappingUrl) \ | 45 V(ScriptSourceMappingUrl) \ |
47 V(ScriptIsEmbedderDebugScript) \ | 46 V(ScriptIsEmbedderDebugScript) \ |
48 V(StringLength) | 47 V(StringLength) |
49 | 48 |
50 #define ACCESSOR_SETTER_LIST(V) \ | 49 #define ACCESSOR_SETTER_LIST(V) \ |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 | 113 |
115 static Handle<AccessorInfo> MakeAccessor( | 114 static Handle<AccessorInfo> MakeAccessor( |
116 Isolate* isolate, Handle<Name> name, AccessorNameGetterCallback getter, | 115 Isolate* isolate, Handle<Name> name, AccessorNameGetterCallback getter, |
117 AccessorNameBooleanSetterCallback setter, PropertyAttributes attributes); | 116 AccessorNameBooleanSetterCallback setter, PropertyAttributes attributes); |
118 }; | 117 }; |
119 | 118 |
120 } // namespace internal | 119 } // namespace internal |
121 } // namespace v8 | 120 } // namespace v8 |
122 | 121 |
123 #endif // V8_ACCESSORS_H_ | 122 #endif // V8_ACCESSORS_H_ |
OLD | NEW |