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 18 matching lines...) Expand all Loading... |
29 V(ScriptEvalFromScriptPosition) \ | 29 V(ScriptEvalFromScriptPosition) \ |
30 V(ScriptEvalFromFunctionName) \ | 30 V(ScriptEvalFromFunctionName) \ |
31 V(ScriptId) \ | 31 V(ScriptId) \ |
32 V(ScriptLineEnds) \ | 32 V(ScriptLineEnds) \ |
33 V(ScriptLineOffset) \ | 33 V(ScriptLineOffset) \ |
34 V(ScriptName) \ | 34 V(ScriptName) \ |
35 V(ScriptSource) \ | 35 V(ScriptSource) \ |
36 V(ScriptType) \ | 36 V(ScriptType) \ |
37 V(ScriptSourceUrl) \ | 37 V(ScriptSourceUrl) \ |
38 V(ScriptSourceMappingUrl) \ | 38 V(ScriptSourceMappingUrl) \ |
| 39 V(ScriptIsEmbedderDebugScript) \ |
39 V(StringLength) | 40 V(StringLength) |
40 | 41 |
41 // Accessors contains all predefined proxy accessors. | 42 // Accessors contains all predefined proxy accessors. |
42 | 43 |
43 class Accessors : public AllStatic { | 44 class Accessors : public AllStatic { |
44 public: | 45 public: |
45 // Accessor descriptors. | 46 // Accessor descriptors. |
46 #define ACCESSOR_INFO_DECLARATION(name) \ | 47 #define ACCESSOR_INFO_DECLARATION(name) \ |
47 static void name##Getter( \ | 48 static void name##Getter( \ |
48 v8::Local<v8::Name> name, \ | 49 v8::Local<v8::Name> name, \ |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 | 96 |
96 | 97 |
97 private: | 98 private: |
98 // Helper functions. | 99 // Helper functions. |
99 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); | 100 static Handle<Object> FlattenNumber(Isolate* isolate, Handle<Object> value); |
100 }; | 101 }; |
101 | 102 |
102 } } // namespace v8::internal | 103 } } // namespace v8::internal |
103 | 104 |
104 #endif // V8_ACCESSORS_H_ | 105 #endif // V8_ACCESSORS_H_ |
OLD | NEW |