Changeset 1024 in webkit for trunk/JavaScriptCore/kjs/object.h
- Timestamp:
- Apr 15, 2002, 4:43:21 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.h
r798 r1024 42 42 // Attributes (only applicable to the Object type) 43 43 enum Attribute { None = 0, 44 45 46 47 48 44 ReadOnly = 1 << 1, // property can be only read, not written 45 DontEnum = 1 << 2, // property doesn't appear in (for .. in ..) 46 DontDelete = 1 << 3, // property can't be deleted 47 Internal = 1 << 4, // an internal property, set to by pass checks 48 Function = 1 << 5 }; // property is a function - only used by static hashtables 49 49 50 50 /** … … 164 164 * @return true if the object has the property, otherwise false 165 165 */ 166 bool hasProperty(ExecState *exec, const UString &propertyName, 167 bool recursive = true) const; 166 bool hasProperty(ExecState *exec, const UString &propertyName) const; 168 167 169 168 /** … … 488 487 * @see Object::hasProperty() 489 488 */ 490 virtual bool hasProperty(ExecState *exec, const UString &propertyName,491 bool recursive = true) const;489 virtual bool hasProperty(ExecState *exec, 490 const UString &propertyName) const; 492 491 493 492 /** … … 579 578 */ 580 579 enum ErrorType { GeneralError = 0, 581 582 583 584 585 586 580 EvalError = 1, 581 RangeError = 2, 582 ReferenceError = 3, 583 SyntaxError = 4, 584 TypeError = 5, 585 URIError = 6}; 587 586 588 587 /**
Note:
See TracChangeset
for help on using the changeset viewer.