/external/webkit/JavaScriptCore/runtime/ |
PropertyDescriptor.cpp | 75 JSValue PropertyDescriptor::getter() const function in class:JSC::PropertyDescriptor 91 if (attributes & (Getter | Setter)) { 93 m_getter = accessor->getter(); 104 void PropertyDescriptor::setAccessorDescriptor(JSValue getter, JSValue setter, unsigned attributes) 106 ASSERT(attributes & (Getter | Setter)); 107 ASSERT(getter || setter); 109 m_getter = getter; 149 void PropertyDescriptor::setGetter(JSValue getter) 151 m_getter = getter; 152 m_attributes |= Getter; [all...] |
JSObject.cpp | 93 throwError(exec, TypeError, "setting a property that has only a getter"); 308 putDirectInternal(exec->globalData(), propertyName, getterSetter, attributes | Getter, true, slot); 312 // if we override an existing non-getter or non-setter. 339 // if we override an existing non-getter or non-setter. 358 JSObject* functionObject = asGetterSetter(value)->getter(); 519 if (JSObject* getterFunction = asGetterSetter(*location)->getter()) 563 target->putWithAttributes(exec, propertyName, descriptor.value() ? descriptor.value() : oldValue, attributes & ~(Getter | Setter)); 567 if (descriptor.getter() && descriptor.getter().isObject()) 568 target->defineGetter(exec, propertyName, asObject(descriptor.getter()), attributes) [all...] |
ObjectConstructor.cpp | 120 description->putDirect(exec->propertyNames().get, descriptor.getter() ? descriptor.getter() : jsUndefined(), 0); 204 throwError(exec, TypeError, "Getter 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())); 281 if (descriptor.getter()) 282 markBuffer.append(descriptor.getter());
|
JSObject.h | 64 Getter = 1 << 5, // property is a getter
|
/external/v8/test/mjsunit/ |
object-create.js | 95 // Add a getter foo that returns a counter value. 108 // Make sure that trying to add both a value and a getter 205 assertTrue(/Getter must be a function/.test(e)); 219 assertTrue(/Getter must be a function/.test(e));
|
/external/v8/src/ |
regexp.js | 344 // Getter and setter for the input. 353 %DefineAccessor($RegExp, 'input', GETTER, RegExpGetInput, DONT_DELETE); 355 %DefineAccessor($RegExp, '$_', GETTER, RegExpGetInput, DONT_ENUM | DONT_DELETE); 357 %DefineAccessor($RegExp, '$input', GETTER, RegExpGetInput, DONT_ENUM | DONT_DELETE); 367 // Getter and setter for multiline. 372 %DefineAccessor($RegExp, 'multiline', GETTER, RegExpGetMultiline, DONT_DELETE); 374 %DefineAccessor($RegExp, '$*', GETTER, RegExpGetMultiline, DONT_ENUM | DONT_DELETE); 382 %DefineAccessor($RegExp, 'lastMatch', GETTER, RegExpGetLastMatch, DONT_DELETE); 384 %DefineAccessor($RegExp, '$&', GETTER, RegExpGetLastMatch, DONT_ENUM | DONT_DELETE); 386 %DefineAccessor($RegExp, 'lastParen', GETTER, RegExpGetLastParen, DONT_DELETE) [all...] |
messages.js | 162 no_setter_in_callback: "Cannot set property %0 of %1 which has only a getter", 170 getter_must_be_callable: "Getter must be a function: %0",
|
/libcore/luni/src/main/native/ |
ICU.cpp | 223 template <typename Counter, typename Getter> 224 static jobjectArray getAvailableLocales(JNIEnv* env, Counter* counter, Getter* getter) { 228 ScopedLocalRef<jstring> s(env, env->NewStringUTF((*getter)(i)));
|
/external/webkit/JavaScriptCore/parser/ |
Nodes.h | 407 enum Type { Constant, Getter, Setter }; [all...] |
Grammar.y | [all...] |
/external/webkit/JavaScriptCore/bytecompiler/ |
NodesCodegen.cpp | 271 case PropertyNode::Getter: { [all...] |