/external/webkit/Source/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...] |
Arguments.cpp | 165 descriptor.setAccessorDescriptor(thrower, thrower, DontEnum | DontDelete | Getter | Setter); 177 descriptor.setAccessorDescriptor(thrower, thrower, DontEnum | DontDelete | Getter | Setter);
|
JSObject.cpp | 139 JSObject* setterFunc = asGetterSetter(gs)->setter(); 329 // if we override an existing non-getter or non-setter. 350 putDirectInternal(exec->globalData(), propertyName, getterSetter, attributes | Setter, true, slot); 354 // if we override an existing non-getter or non-setter. 390 JSObject* functionObject = asGetterSetter(value)->setter(); 631 if (oldDescriptor.setter()) { 632 attributes |= Setter; 633 accessor->setSetter(exec->globalData(), asObject(oldDescriptor.setter())); 643 target->putWithAttributes(exec, propertyName, newValue, attributes & ~(Getter | Setter)); 651 if (descriptor.setter() && descriptor.setter().isObject() [all...] |
JSFunction.cpp | 108 descriptor.setAccessorDescriptor(thrower, thrower, DontEnum | DontDelete | Getter | Setter);
|
ObjectConstructor.cpp | 157 description->putDirect(exec->globalData(), exec->propertyNames().set, descriptor.setter() ? descriptor.setter() : jsUndefined(), 0); 256 throwError(exec, createTypeError(exec, "Setter must be a function.")); 269 throwError(exec, createTypeError(exec, "Invalid property. 'value' present on property with getter or setter.")); 274 throwError(exec, createTypeError(exec, "Invalid property. 'writable' present on property with getter or setter.")); 291 ASSERT((descriptor.attributes() & (Getter | Setter)) || (!descriptor.isAccessorDescriptor())); 319 if (descriptor.setter()) 320 markBuffer.append(descriptor.setter());
|
JSObject.h | 69 Setter = 1 << 6 // property is a setter [all...] |
/external/clang/include/clang/AST/ |
ExprObjC.h | 515 /// pointer is an (optional) ObjCMethodDecl and Setter may be set. 517 /// the pointer is an ObjCPropertyDecl and Setter is always null. 521 /// to the getter, the setter, or both. 529 /// \brief Contains the Setter method pointer and MethodRefFlags bit flags. 569 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, 575 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0), 580 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, 585 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0), 590 ObjCPropertyRefExpr(ObjCMethodDecl *Getter, ObjCMethodDecl *Setter, 595 PropertyOrGetter(Getter, true), SetterAndMethodRefFlags(Setter, 0) [all...] |
/external/clang/lib/Sema/ |
SemaExprObjC.cpp | [all...] |
SemaPseudoObject.cpp | 24 // as a message-send of the associated 'setter' selector, typically: 215 ObjCMethodDecl *Setter; 222 SyntacticRefExpr(0), InstanceReceiver(0), Getter(0), Setter(0) { 485 ObjCMethodDecl *setter = RefExpr->getImplicitPropertySetter(); local 486 assert(setter && "both setter and getter are null - cannot happen"); 488 setter->getSelector().getIdentifierInfoForSlot(0); 504 /// Try to find the most accurate setter declaration for the property 507 /// \return true if a setter was found, in which case Setter [all...] |
SemaExprMember.cpp | 417 // Also must look for a getter or setter name which uses property syntax. [all...] |
SemaCodeComplete.cpp | [all...] |
/external/clang/lib/AST/ |
StmtDumper.cpp | 675 OS << "\" Setter=\""; 676 if (ObjCMethodDecl *Setter = Node->getImplicitPropertySetter()) 677 OS << Setter->getSelector().getAsString(); 690 OS << "Getter&Setter"; 694 OS << "Setter";
|
/external/v8/test/mjsunit/ |
indexed-accessors.js | 84 // Using a setter where only a getter is defined does not throw an exception, 90 // Using a getter where only a setter is defined returns undefined. 94 // Setter works
|
object-create.js | 101 // Add a setter foo that runs a function. 212 assertTrue(/Setter must be a function/.test(e));
|
strict-mode.js | 201 // Setter and data (non-strict) 376 // setter parameter when the body is strict [all...] |
/external/clang/tools/libclang/ |
IndexingContext.cpp | 532 if (ObjCMethodDecl *Setter = D->getSetterMethodDecl()) { 533 getEntityInfo(Setter, SetterEntity, SA); 534 DInfo.ObjCPropDeclInfo.setter = &SetterEntity; 536 DInfo.ObjCPropDeclInfo.setter = 0; [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.cpp | [all...] |
/external/webkit/Source/JavaScriptCore/parser/ |
Nodes.h | 412 enum Type { Constant = 1, Getter = 2, Setter = 4 }; [all...] |
JSParser.cpp | [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteObjC.cpp | [all...] |
RewriteModernObjC.cpp | [all...] |
/external/clang/lib/Serialization/ |
ASTReaderStmt.cpp | 904 ObjCMethodDecl *Setter = ReadDeclAs<ObjCMethodDecl>(Record, Idx); 905 E->setImplicitProperty(Getter, Setter, MethodRefFlags); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.mortbay.jetty.util_6.1.23.v201004211559.jar | |
/external/v8/src/ |
messages.js | 179 "setter_must_be_callable", ["Setter must be a function: ", "%0"], 770 var setter = function(v) { 774 %DefineOrRedefineAccessorProperty(obj, name, getter, setter, DONT_ENUM); [all...] |
/external/webkit/Source/JavaScriptCore/bytecompiler/ |
NodesCodegen.cpp | 252 case PropertyNode::Setter: { [all...] |