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 "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 | 10 |
(...skipping 14 matching lines...) Expand all Loading... |
25 V(ScriptContextData) \ | 25 V(ScriptContextData) \ |
26 V(ScriptEvalFromScript) \ | 26 V(ScriptEvalFromScript) \ |
27 V(ScriptEvalFromScriptPosition) \ | 27 V(ScriptEvalFromScriptPosition) \ |
28 V(ScriptEvalFromFunctionName) \ | 28 V(ScriptEvalFromFunctionName) \ |
29 V(ScriptId) \ | 29 V(ScriptId) \ |
30 V(ScriptLineEnds) \ | 30 V(ScriptLineEnds) \ |
31 V(ScriptLineOffset) \ | 31 V(ScriptLineOffset) \ |
32 V(ScriptName) \ | 32 V(ScriptName) \ |
33 V(ScriptSource) \ | 33 V(ScriptSource) \ |
34 V(ScriptType) \ | 34 V(ScriptType) \ |
| 35 V(ScriptSourceUrl) \ |
| 36 V(ScriptSourceMappingUrl) \ |
35 V(StringLength) | 37 V(StringLength) |
36 | 38 |
37 // Accessors contains all predefined proxy accessors. | 39 // Accessors contains all predefined proxy accessors. |
38 | 40 |
39 class Accessors : public AllStatic { | 41 class Accessors : public AllStatic { |
40 public: | 42 public: |
41 // Accessor descriptors. | 43 // Accessor descriptors. |
42 #define ACCESSOR_INFO_DECLARATION(name) \ | 44 #define ACCESSOR_INFO_DECLARATION(name) \ |
43 static void name##Getter( \ | 45 static void name##Getter( \ |
44 v8::Local<v8::String> name, \ | 46 v8::Local<v8::String> name, \ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 94 |
93 | 95 |
94 private: | 96 private: |
95 // Helper functions. | 97 // Helper functions. |
96 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); | 98 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); |
97 }; | 99 }; |
98 | 100 |
99 } } // namespace v8::internal | 101 } } // namespace v8::internal |
100 | 102 |
101 #endif // V8_ACCESSORS_H_ | 103 #endif // V8_ACCESSORS_H_ |
OLD | NEW |