OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
(...skipping 9664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9675 PropertyDescriptor* desc, ShouldThrow should_throw); | 9675 PropertyDescriptor* desc, ShouldThrow should_throw); |
9676 | 9676 |
9677 // ES6 9.5.7 | 9677 // ES6 9.5.7 |
9678 MUST_USE_RESULT static Maybe<bool> HasProperty(Isolate* isolate, | 9678 MUST_USE_RESULT static Maybe<bool> HasProperty(Isolate* isolate, |
9679 Handle<JSProxy> proxy, | 9679 Handle<JSProxy> proxy, |
9680 Handle<Name> name); | 9680 Handle<Name> name); |
9681 | 9681 |
9682 // ES6 9.5.8 | 9682 // ES6 9.5.8 |
9683 MUST_USE_RESULT static MaybeHandle<Object> GetProperty( | 9683 MUST_USE_RESULT static MaybeHandle<Object> GetProperty( |
9684 Isolate* isolate, Handle<JSProxy> proxy, Handle<Name> name, | 9684 Isolate* isolate, Handle<JSProxy> proxy, Handle<Name> name, |
9685 Handle<Object> receiver); | 9685 Handle<Object> receiver, bool* was_found); |
9686 | 9686 |
9687 // ES6 9.5.9 | 9687 // ES6 9.5.9 |
9688 MUST_USE_RESULT static Maybe<bool> SetProperty(Handle<JSProxy> proxy, | 9688 MUST_USE_RESULT static Maybe<bool> SetProperty(Handle<JSProxy> proxy, |
9689 Handle<Name> name, | 9689 Handle<Name> name, |
9690 Handle<Object> value, | 9690 Handle<Object> value, |
9691 Handle<Object> receiver, | 9691 Handle<Object> receiver, |
9692 LanguageMode language_mode); | 9692 LanguageMode language_mode); |
9693 | 9693 |
9694 // ES6 9.5.10 (when passed SLOPPY) | 9694 // ES6 9.5.10 (when passed SLOPPY) |
9695 MUST_USE_RESULT static Maybe<bool> DeletePropertyOrElement( | 9695 MUST_USE_RESULT static Maybe<bool> DeletePropertyOrElement( |
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10790 } | 10790 } |
10791 return value; | 10791 return value; |
10792 } | 10792 } |
10793 }; | 10793 }; |
10794 | 10794 |
10795 | 10795 |
10796 } // NOLINT, false-positive due to second-order macros. | 10796 } // NOLINT, false-positive due to second-order macros. |
10797 } // NOLINT, false-positive due to second-order macros. | 10797 } // NOLINT, false-positive due to second-order macros. |
10798 | 10798 |
10799 #endif // V8_OBJECTS_H_ | 10799 #endif // V8_OBJECTS_H_ |
OLD | NEW |