Changeset 27571 in webkit for trunk/JavaScriptCore/kjs/regexp_object.h
- Timestamp:
- Nov 7, 2007, 9:18:39 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/regexp_object.h
r27405 r27571 49 49 class RegExpImp : public JSObject { 50 50 public: 51 RegExpImp(RegExpPrototype*, RegExp*); 51 enum { Global, IgnoreCase, Multiline, Source, LastIndex }; 52 53 RegExpImp(RegExpPrototype*, PassRefPtr<RegExp>); 52 54 virtual ~RegExpImp(); 53 55 54 void setRegExp( RegExp* r) { m_regExp.set(r); }56 void setRegExp(PassRefPtr<RegExp> r) { m_regExp = r; } 55 57 RegExp* regExp() const { return m_regExp.get(); } 56 58 … … 60 62 virtual bool implementsCall() const; 61 63 virtual JSValue* callAsFunction(ExecState*, JSObject*, const List&); 64 bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&); 65 JSValue* getValueProperty(ExecState*, int token) const; 66 void put(ExecState*, const Identifier&, JSValue*, int attributes = None); 67 void putValueProperty(ExecState*, int token, JSValue*, int attributes); 68 62 69 virtual const ClassInfo* classInfo() const { return &info; } 63 70 static const ClassInfo info; … … 66 73 bool match(ExecState*, const List& args); 67 74 68 OwnPtr<RegExp> m_regExp; 75 RefPtr<RegExp> m_regExp; 76 double m_lastIndex; 69 77 }; 70 78
Note:
See TracChangeset
for help on using the changeset viewer.