Changeset 73124 in webkit for trunk/JavaScriptCore/runtime/RegExp.h
- Timestamp:
- Dec 2, 2010, 5:36:45 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/RegExp.h
r67146 r73124 42 42 bool multiline() const { return m_flagBits & Multiline; } 43 43 44 const UString& pattern() const { return m_pattern ; }44 const UString& pattern() const { return m_patternString; } 45 45 46 46 bool isValid() const { return !m_constructionError; } … … 57 57 RegExp(JSGlobalData* globalData, const UString& pattern, const UString& flags); 58 58 59 void compile(JSGlobalData*); 59 enum RegExpState { 60 ParseError, 61 JITCode, 62 ByteCode 63 } m_state; 64 65 RegExpState compile(JSGlobalData*); 60 66 61 67 enum FlagBits { Global = 1, IgnoreCase = 2, Multiline = 4 }; 62 63 UString m_pattern; // FIXME: Just decompile m_regExp instead of storing this. 68 UString m_patternString; 64 69 int m_flagBits; 65 70 const char* m_constructionError;
Note:
See TracChangeset
for help on using the changeset viewer.