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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 const TYPE_NORMAL = 2; | 259 const TYPE_NORMAL = 2; |
260 | 260 |
261 # Matches Script::CompilationType from objects.h | 261 # Matches Script::CompilationType from objects.h |
262 const COMPILATION_TYPE_HOST = 0; | 262 const COMPILATION_TYPE_HOST = 0; |
263 const COMPILATION_TYPE_EVAL = 1; | 263 const COMPILATION_TYPE_EVAL = 1; |
264 const COMPILATION_TYPE_JSON = 2; | 264 const COMPILATION_TYPE_JSON = 2; |
265 | 265 |
266 # Matches Messages::kNoLineNumberInfo from v8.h | 266 # Matches Messages::kNoLineNumberInfo from v8.h |
267 const kNoLineNumberInfo = 0; | 267 const kNoLineNumberInfo = 0; |
268 | 268 |
| 269 # Matches TryCatch::ErrorType |
| 270 const kError = 1; |
| 271 const kTypeError = 2; |
| 272 const kRangeError = 3; |
| 273 const kSyntaxError = 4; |
| 274 const kReferenceError = 5; |
| 275 const kURIError = 6; |
| 276 const kEvalError = 7; |
| 277 const kStackOverflowError = 8; |
| 278 |
269 # Matches PropertyAttributes from property-details.h | 279 # Matches PropertyAttributes from property-details.h |
270 const PROPERTY_ATTRIBUTES_NONE = 0; | 280 const PROPERTY_ATTRIBUTES_NONE = 0; |
271 const PROPERTY_ATTRIBUTES_STRING = 8; | 281 const PROPERTY_ATTRIBUTES_STRING = 8; |
272 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16; | 282 const PROPERTY_ATTRIBUTES_SYMBOLIC = 16; |
273 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32; | 283 const PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL = 32; |
OLD | NEW |