Changeset 36977 in webkit for trunk/JavaScriptCore/kjs/RegExpConstructor.h
- Timestamp:
- Sep 26, 2008, 7:36:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/RegExpConstructor.h
r36784 r36977 33 33 class RegExpConstructor : public InternalFunction { 34 34 public: 35 enum {36 Dollar1,37 Dollar2,38 Dollar3,39 Dollar4,40 Dollar5,41 Dollar6,42 Dollar7,43 Dollar8,44 Dollar9,45 Input,46 Multiline,47 LastMatch,48 LastParen,49 LeftContext,50 RightContext51 };52 53 35 RegExpConstructor(ExecState*, PassRefPtr<StructureID>, RegExpPrototype*); 54 36 55 37 virtual void put(ExecState*, const Identifier& propertyName, JSValue*, PutPropertySlot&); 56 void putValueProperty(ExecState*, int token, JSValue*);57 38 virtual bool getOwnPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&); 58 JSValue* getValueProperty(ExecState*, int token) const;59 39 60 40 static const ClassInfo info; … … 62 42 void performMatch(RegExp*, const UString&, int startOffset, int& position, int& length, int** ovector = 0); 63 43 JSObject* arrayOfMatches(ExecState*) const; 44 45 void setInput(const UString&); 64 46 const UString& input() const; 47 48 void setMultiline(bool); 49 bool multiline() const; 50 51 JSValue* getBackref(ExecState*, unsigned) const; 52 JSValue* getLastParen(ExecState*) const; 53 JSValue* getLeftContext(ExecState*) const; 54 JSValue* getRightContext(ExecState*) const; 65 55 66 56 private: … … 69 59 70 60 virtual const ClassInfo* classInfo() const { return &info; } 71 72 JSValue* getBackref(ExecState*, unsigned) const;73 JSValue* getLastParen(ExecState*) const;74 JSValue* getLeftContext(ExecState*) const;75 JSValue* getRightContext(ExecState*) const;76 61 77 62 OwnPtr<RegExpConstructorPrivate> d;
Note:
See TracChangeset
for help on using the changeset viewer.