Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: include/v8.h

Issue 291153005: Consistently say 'own' property (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add new files Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/accessors.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 2079 matching lines...) Expand 10 before | Expand all | Expand 10 after
2090 * A JavaScript object (ECMA-262, 4.3.3) 2090 * A JavaScript object (ECMA-262, 4.3.3)
2091 */ 2091 */
2092 class V8_EXPORT Object : public Value { 2092 class V8_EXPORT Object : public Value {
2093 public: 2093 public:
2094 bool Set(Handle<Value> key, 2094 bool Set(Handle<Value> key,
2095 Handle<Value> value, 2095 Handle<Value> value,
2096 PropertyAttribute attribs = None); 2096 PropertyAttribute attribs = None);
2097 2097
2098 bool Set(uint32_t index, Handle<Value> value); 2098 bool Set(uint32_t index, Handle<Value> value);
2099 2099
2100 // Sets a local property on this object bypassing interceptors and 2100 // Sets an own property on this object bypassing interceptors and
2101 // overriding accessors or read-only properties. 2101 // overriding accessors or read-only properties.
2102 // 2102 //
2103 // Note that if the object has an interceptor the property will be set 2103 // Note that if the object has an interceptor the property will be set
2104 // locally, but since the interceptor takes precedence the local property 2104 // locally, but since the interceptor takes precedence the local property
2105 // will only be returned if the interceptor doesn't return a value. 2105 // will only be returned if the interceptor doesn't return a value.
2106 // 2106 //
2107 // Note also that this only works for named properties. 2107 // Note also that this only works for named properties.
2108 bool ForceSet(Handle<Value> key, 2108 bool ForceSet(Handle<Value> key,
2109 Handle<Value> value, 2109 Handle<Value> value,
2110 PropertyAttribute attribs = None); 2110 PropertyAttribute attribs = None);
(...skipping 4525 matching lines...) Expand 10 before | Expand all | Expand 10 after
6636 */ 6636 */
6637 6637
6638 6638
6639 } // namespace v8 6639 } // namespace v8
6640 6640
6641 6641
6642 #undef TYPE_CHECK 6642 #undef TYPE_CHECK
6643 6643
6644 6644
6645 #endif // V8_H_ 6645 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/accessors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698