| Index: regexp2000/src/objects.h
|
| diff --git a/regexp2000/src/objects.h b/regexp2000/src/objects.h
|
| index f2f9e185eea8d0c5fa73f9107e9f969c9f3a9d0e..d5a3284d3719a40e4f4eec99c8b46ad27fecac5c 100644
|
| --- a/regexp2000/src/objects.h
|
| +++ b/regexp2000/src/objects.h
|
| @@ -2915,6 +2915,10 @@ class JSValue: public JSObject {
|
| // Regular expressions
|
| class JSRegExp: public JSObject {
|
| public:
|
| + // Meaning of Type:
|
| + // NOT_COMPILED: Initial value. No data has been stored in the JSRegExp yet.
|
| + // JSCRE: A complex RegExp for JSCRE
|
| + // ATOM: A simple string to match against using an indexOf operation.
|
| enum Type { NOT_COMPILED, JSCRE, ATOM };
|
| enum Flag { NONE = 0, GLOBAL = 1, IGNORE_CASE = 2, MULTILINE = 4 };
|
|
|
| @@ -2932,6 +2936,8 @@ class JSRegExp: public JSObject {
|
| DECL_ACCESSORS(data, Object)
|
|
|
| inline Type TypeTag();
|
| + inline Flags GetFlags();
|
| + inline String* Pattern();
|
| inline Object* DataAt(int index);
|
|
|
| static inline JSRegExp* cast(Object* obj);
|
|
|