Changeset 2760 in webkit for trunk/JavaScriptCore/kjs/function.h
- Timestamp:
- Nov 19, 2002, 2:02:26 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.h
r1864 r2760 37 37 friend class ActivationImp; 38 38 public: 39 FunctionImp(ExecState *exec, const UString &n = UString::null);39 FunctionImp(ExecState *exec, const Identifier &n = Identifier::null); 40 40 virtual ~FunctionImp(); 41 41 … … 45 45 virtual Value call(ExecState *exec, Object &thisObj, const List &args); 46 46 47 void addParameter(const UString&n);47 void addParameter(const Identifier &n); 48 48 // parameters in string representation, e.g. (a, b, c) 49 49 UString parameterString() const; … … 51 51 52 52 virtual Completion execute(ExecState *exec) = 0; 53 UStringname() const { return ident; }53 Identifier name() const { return ident; } 54 54 55 55 virtual const ClassInfo *classInfo() const { return &info; } … … 57 57 protected: 58 58 Parameter *param; 59 UStringident;59 Identifier ident; 60 60 61 61 private: … … 66 66 class DeclaredFunctionImp : public FunctionImp { 67 67 public: 68 DeclaredFunctionImp(ExecState *exec, const UString&n,68 DeclaredFunctionImp(ExecState *exec, const Identifier &n, 69 69 FunctionBodyNode *b, const List &sc); 70 70 ~DeclaredFunctionImp();
Note:
See TracChangeset
for help on using the changeset viewer.