Changeset 21032 in webkit for trunk/JavaScriptCore/kjs/function.h
- Timestamp:
- Apr 23, 2007, 3:28:10 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.h
r21019 r21032 33 33 class ActivationImp; 34 34 class FunctionBodyNode; 35 class Parameter;36 35 37 36 /** … … 50 49 virtual JSValue* callAsFunction(ExecState*, JSObject* thisObj, const List& args); 51 50 52 void addParameter(const Identifier& n); 51 // Note: unlike body->paramName, this returns Identifier::null for parameters 52 // that will never get set, due to later param having the same name 53 53 Identifier getParameterName(int index); 54 // parameters in string representation, e.g. (a, b, c)55 UString parameterString() const;56 54 virtual CodeType codeType() const = 0; 57 55 … … 93 91 94 92 virtual void mark(); 95 protected:96 OwnPtr<Vector<Parameter> > parameters;97 93 98 94 private: … … 103 99 static JSValue* lengthGetter(ExecState*, JSObject*, const Identifier&, const PropertySlot&); 104 100 105 void p rocessParameters(ExecState*, const List&);101 void passInParameters(ExecState*, const List&); 106 102 virtual void processVarDecls(ExecState*); 107 103 };
Note:
See TracChangeset
for help on using the changeset viewer.