/external/webkit/JavaScriptCore/runtime/ |
PropertyDescriptor.cpp | 81 JSValue PropertyDescriptor::setter() const function in class:JSC::PropertyDescriptor 91 if (attributes & (Getter | Setter)) { 94 m_setter = accessor->setter(); 104 void PropertyDescriptor::setAccessorDescriptor(JSValue getter, JSValue setter, unsigned attributes) 106 ASSERT(attributes & (Getter | Setter)); 107 ASSERT(getter || setter); 110 m_setter = setter; 142 void PropertyDescriptor::setSetter(JSValue setter) 144 m_setter = setter; 145 m_attributes |= Setter; [all...] |
JSObject.cpp | 139 JSObject* setterFunc = asGetterSetter(gs)->setter(); 312 // if we override an existing non-getter or non-setter. 335 putDirectInternal(exec->globalData(), propertyName, getterSetter, attributes | Setter, true, slot); 339 // if we override an existing non-getter or non-setter. 377 JSObject* functionObject = asGetterSetter(value)->setter(); 563 target->putWithAttributes(exec, propertyName, descriptor.value() ? descriptor.value() : oldValue, attributes & ~(Getter | Setter)); 571 if (descriptor.setter() && descriptor.setter().isObject()) 572 target->defineSetter(exec, propertyName, asObject(descriptor.setter()), attributes); 654 if (descriptor.setterPresent() && !(current.setter() && JSValue::strictEqual(exec, current.setter(), descriptor.setter()))) [all...] |
ObjectConstructor.cpp | 121 description->putDirect(exec->propertyNames().set, descriptor.setter() ? descriptor.setter() : jsUndefined(), 0); 220 throwError(exec, TypeError, "Setter must be a function."); 233 throwError(exec, TypeError, "Invalid property. 'value' present on property with getter or setter."); 238 throwError(exec, TypeError, "Invalid property. 'writable' present on property with getter or setter."); 255 ASSERT((descriptor.attributes() & (Getter | Setter)) || (!descriptor.isAccessorDescriptor())); 283 if (descriptor.setter()) 284 markBuffer.append(descriptor.setter());
|
JSObject.h | 65 Setter = 1 << 6 // property is a setter
|
/external/v8/test/mjsunit/ |
indexed-accessors.js | 97 // Using a setter where only a getter is defined throws an exception. 102 // Using a getter where only a setter is defined returns undefined. 106 // Setter works
|
object-create.js | 101 // Add a setter foo that runs a function. 212 assertTrue(/Setter must be a function/.test(e));
|
/external/webkit/JavaScriptCore/parser/ |
Nodes.h | 407 enum Type { Constant, Getter, Setter }; [all...] |
Grammar.y | [all...] |
/external/v8/src/ |
messages.js | 171 setter_must_be_callable: "Setter must be a function: %0",
|
/external/webkit/JavaScriptCore/bytecompiler/ |
NodesCodegen.cpp | 275 case PropertyNode::Setter: { [all...] |