Changeset 34587 in webkit for trunk/JavaScriptCore/kjs/JSFunction.h
- Timestamp:
- Jun 15, 2008, 10:28:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSFunction.h
r34582 r34587 45 45 virtual CallType getCallData(CallData&); 46 46 47 virtual JSValue* callAsFunction(ExecState*, JSObject* thisObjec, const List& args) = 0;47 virtual JSValue* callAsFunction(ExecState*, JSObject* thisObjec, const ArgList& args) = 0; 48 48 virtual bool implementsHasInstance() const; 49 49 … … 65 65 66 66 virtual ConstructType getConstructData(ConstructData&); 67 virtual JSObject* construct(ExecState*, const List& args);67 virtual JSObject* construct(ExecState*, const ArgList& args); 68 68 69 69 virtual CallType getCallData(CallData&); 70 virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const List& args);70 virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const ArgList& args); 71 71 72 72 // Note: unlike body->paramName, this returns Identifier::null for parameters … … 94 94 class IndexToNameMap { 95 95 public: 96 IndexToNameMap(JSFunction*, const List& args);96 IndexToNameMap(JSFunction*, const ArgList& args); 97 97 ~IndexToNameMap(); 98 98 … … 108 108 class Arguments : public JSObject { 109 109 public: 110 Arguments(ExecState*, JSFunction* func, const List& args, JSActivation* act);110 Arguments(ExecState*, JSFunction* func, const ArgList& args, JSActivation* act); 111 111 virtual void mark(); 112 112 virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&); … … 124 124 class PrototypeFunction : public InternalFunction { 125 125 public: 126 typedef JSValue* (*JSMemberFunction)(ExecState*, JSObject* thisObj, const List&);126 typedef JSValue* (*JSMemberFunction)(ExecState*, JSObject* thisObj, const ArgList&); 127 127 128 128 PrototypeFunction(ExecState*, int len, const Identifier&, JSMemberFunction); 129 129 PrototypeFunction(ExecState*, FunctionPrototype*, int len, const Identifier&, JSMemberFunction); 130 130 131 virtual JSValue* callAsFunction(ExecState* exec, JSObject* thisObj, const List&);131 virtual JSValue* callAsFunction(ExecState* exec, JSObject* thisObj, const ArgList&); 132 132 133 133 private: … … 139 139 class PrototypeReflexiveFunction : public InternalFunction { 140 140 public: 141 typedef JSValue* (*JSMemberFunction)(ExecState*, PrototypeReflexiveFunction*, JSObject* thisObj, const List&);141 typedef JSValue* (*JSMemberFunction)(ExecState*, PrototypeReflexiveFunction*, JSObject* thisObj, const ArgList&); 142 142 143 143 PrototypeReflexiveFunction(ExecState*, FunctionPrototype*, int len, const Identifier&, JSMemberFunction, JSGlobalObject* expectedThisObject); 144 144 145 145 virtual void mark(); 146 virtual JSValue* callAsFunction(ExecState* exec, JSObject* thisObj, const List&);146 virtual JSValue* callAsFunction(ExecState* exec, JSObject* thisObj, const ArgList&); 147 147 148 148 JSGlobalObject* cachedGlobalObject() const { return m_cachedGlobalObject; } … … 154 154 155 155 // Global Functions 156 JSValue* globalFuncEval(ExecState*, PrototypeReflexiveFunction*, JSObject*, const List&);157 JSValue* globalFuncParseInt(ExecState*, JSObject*, const List&);158 JSValue* globalFuncParseFloat(ExecState*, JSObject*, const List&);159 JSValue* globalFuncIsNaN(ExecState*, JSObject*, const List&);160 JSValue* globalFuncIsFinite(ExecState*, JSObject*, const List&);161 JSValue* globalFuncDecodeURI(ExecState*, JSObject*, const List&);162 JSValue* globalFuncDecodeURIComponent(ExecState*, JSObject*, const List&);163 JSValue* globalFuncEncodeURI(ExecState*, JSObject*, const List&);164 JSValue* globalFuncEncodeURIComponent(ExecState*, JSObject*, const List&);165 JSValue* globalFuncEscape(ExecState*, JSObject*, const List&);166 JSValue* globalFuncUnescape(ExecState*, JSObject*, const List&);156 JSValue* globalFuncEval(ExecState*, PrototypeReflexiveFunction*, JSObject*, const ArgList&); 157 JSValue* globalFuncParseInt(ExecState*, JSObject*, const ArgList&); 158 JSValue* globalFuncParseFloat(ExecState*, JSObject*, const ArgList&); 159 JSValue* globalFuncIsNaN(ExecState*, JSObject*, const ArgList&); 160 JSValue* globalFuncIsFinite(ExecState*, JSObject*, const ArgList&); 161 JSValue* globalFuncDecodeURI(ExecState*, JSObject*, const ArgList&); 162 JSValue* globalFuncDecodeURIComponent(ExecState*, JSObject*, const ArgList&); 163 JSValue* globalFuncEncodeURI(ExecState*, JSObject*, const ArgList&); 164 JSValue* globalFuncEncodeURIComponent(ExecState*, JSObject*, const ArgList&); 165 JSValue* globalFuncEscape(ExecState*, JSObject*, const ArgList&); 166 JSValue* globalFuncUnescape(ExecState*, JSObject*, const ArgList&); 167 167 #ifndef NDEBUG 168 JSValue* globalFuncKJSPrint(ExecState*, JSObject*, const List&);168 JSValue* globalFuncKJSPrint(ExecState*, JSObject*, const ArgList&); 169 169 #endif 170 170
Note:
See TracChangeset
for help on using the changeset viewer.