Changeset 10084 in webkit for trunk/JavaScriptCore/kjs/function.h
- Timestamp:
- Aug 7, 2005, 9:07:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.h
r10076 r10084 44 44 45 45 virtual bool getOwnPropertySlot(ExecState *, const Identifier &, PropertySlot&); 46 virtual void put(ExecState *exec, const Identifier &propertyName, const Value &value, int attr = None);46 virtual void put(ExecState *exec, const Identifier &propertyName, ValueImp *value, int attr = None); 47 47 virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName); 48 48 49 49 virtual bool implementsCall() const; 50 virtual Value call(ExecState *exec, Object &thisObj, const List &args);50 virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp *thisObj, const List &args); 51 51 52 52 void addParameter(const Identifier &n); … … 66 66 67 67 private: 68 static Value 69 static Value 68 static ValueImp *argumentsGetter(ExecState *, const Identifier &, const PropertySlot&); 69 static ValueImp *lengthGetter(ExecState *, const Identifier &, const PropertySlot&); 70 70 71 71 void processParameters(ExecState *exec, const List &); … … 80 80 81 81 bool implementsConstruct() const; 82 Object 82 ObjectImp *construct(ExecState *exec, const List &args); 83 83 84 84 virtual Completion execute(ExecState *exec); … … 113 113 virtual void mark(); 114 114 virtual bool getOwnPropertySlot(ExecState *, const Identifier &, PropertySlot&); 115 virtual void put(ExecState *exec, const Identifier &propertyName, 116 const Value &value, int attr = None); 115 virtual void put(ExecState *exec, const Identifier &propertyName, ValueImp *value, int attr = None); 117 116 virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName); 118 117 virtual const ClassInfo *classInfo() const { return &info; } 119 118 static const ClassInfo info; 120 119 private: 121 static Value 120 static ValueImp *mappedIndexGetter(ExecState *exec, const Identifier &, const PropertySlot& slot); 122 121 123 122 ActivationImp *_activationObject; … … 139 138 private: 140 139 static PropertySlot::GetValueFunc getArgumentsGetter(); 141 static Value 140 static ValueImp *argumentsGetter(ExecState *exec, const Identifier &, const PropertySlot& slot); 142 141 void createArgumentsObject(ExecState *exec) const; 143 142 … … 151 150 GlobalFuncImp(ExecState *exec, FunctionPrototypeImp *funcProto, int i, int len); 152 151 virtual bool implementsCall() const; 153 virtual Value call(ExecState *exec, Object &thisObj, const List &args);152 virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp *thisObj, const List &args); 154 153 virtual CodeType codeType() const; 155 154 enum { Eval, ParseInt, ParseFloat, IsNaN, IsFinite, Escape, UnEscape,
Note:
See TracChangeset
for help on using the changeset viewer.