OLD | NEW |
1 # Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 # Copyright 2006-2009 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 # PropertyDescriptor return value indices - must match | 186 # PropertyDescriptor return value indices - must match |
187 # PropertyDescriptorIndices in runtime.cc. | 187 # PropertyDescriptorIndices in runtime.cc. |
188 const IS_ACCESSOR_INDEX = 0; | 188 const IS_ACCESSOR_INDEX = 0; |
189 const VALUE_INDEX = 1; | 189 const VALUE_INDEX = 1; |
190 const GETTER_INDEX = 2; | 190 const GETTER_INDEX = 2; |
191 const SETTER_INDEX = 3; | 191 const SETTER_INDEX = 3; |
192 const WRITABLE_INDEX = 4; | 192 const WRITABLE_INDEX = 4; |
193 const ENUMERABLE_INDEX = 5; | 193 const ENUMERABLE_INDEX = 5; |
194 const CONFIGURABLE_INDEX = 6; | 194 const CONFIGURABLE_INDEX = 6; |
195 | 195 |
| 196 # For collection.js, operation types for SetAccess. |
| 197 # Matches SetAccessOperation from runtime.cc |
| 198 const SET_ACCESS_ADD = 0; |
| 199 const SET_ACCESS_HAS = 1; |
| 200 const SET_ACCESS_DELETE = 2; |
| 201 |
196 # For messages.js | 202 # For messages.js |
197 # Matches Script::Type from objects.h | 203 # Matches Script::Type from objects.h |
198 const TYPE_NATIVE = 0; | 204 const TYPE_NATIVE = 0; |
199 const TYPE_EXTENSION = 1; | 205 const TYPE_EXTENSION = 1; |
200 const TYPE_NORMAL = 2; | 206 const TYPE_NORMAL = 2; |
201 | 207 |
202 # Matches Script::CompilationType from objects.h | 208 # Matches Script::CompilationType from objects.h |
203 const COMPILATION_TYPE_HOST = 0; | 209 const COMPILATION_TYPE_HOST = 0; |
204 const COMPILATION_TYPE_EVAL = 1; | 210 const COMPILATION_TYPE_EVAL = 1; |
205 const COMPILATION_TYPE_JSON = 2; | 211 const COMPILATION_TYPE_JSON = 2; |
206 | 212 |
207 # Matches Messages::kNoLineNumberInfo from v8.h | 213 # Matches Messages::kNoLineNumberInfo from v8.h |
208 const kNoLineNumberInfo = 0; | 214 const kNoLineNumberInfo = 0; |
OLD | NEW |