OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 // an object of expected type, or the handle is an error if running out | 287 // an object of expected type, or the handle is an error if running out |
288 // of space or encountering an internal error. | 288 // of space or encountering an internal error. |
289 | 289 |
290 // Flattens a string. | 290 // Flattens a string. |
291 void FlattenString(Handle<String> str); | 291 void FlattenString(Handle<String> str); |
292 | 292 |
293 // Flattens a string and returns the underlying external or sequential | 293 // Flattens a string and returns the underlying external or sequential |
294 // string. | 294 // string. |
295 Handle<String> FlattenGetString(Handle<String> str); | 295 Handle<String> FlattenGetString(Handle<String> str); |
296 | 296 |
297 Handle<Object> DeleteProperty(Handle<JSObject> object, Handle<Object> key); | |
298 | |
299 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, Handle<Object> key); | |
300 | |
301 Handle<Object> HasProperty(Handle<JSReceiver> obj, Handle<Object> key); | |
302 | |
303 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name); | 297 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name); |
304 | 298 |
305 Handle<String> LookupSingleCharacterStringFromCode(Isolate* isolate, | 299 Handle<String> LookupSingleCharacterStringFromCode(Isolate* isolate, |
306 uint32_t index); | 300 uint32_t index); |
307 | 301 |
308 // Get the JS object corresponding to the given script; create it | 302 // Get the JS object corresponding to the given script; create it |
309 // if none exists. | 303 // if none exists. |
310 Handle<JSValue> GetScriptWrapper(Handle<Script> script); | 304 Handle<JSValue> GetScriptWrapper(Handle<Script> script); |
311 | 305 |
312 // Script line number computations. Note that the line number is zero-based. | 306 // Script line number computations. Note that the line number is zero-based. |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 | 367 |
374 void Initialize() { | 368 void Initialize() { |
375 next = limit = NULL; | 369 next = limit = NULL; |
376 level = 0; | 370 level = 0; |
377 } | 371 } |
378 }; | 372 }; |
379 | 373 |
380 } } // namespace v8::internal | 374 } } // namespace v8::internal |
381 | 375 |
382 #endif // V8_HANDLES_H_ | 376 #endif // V8_HANDLES_H_ |
OLD | NEW |