Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1449)

Unified Diff: regexp2000/src/objects.h

Issue 8760: Experimental regexp: Use new RegExp parser to test syntax. (Closed)
Patch Set: Parses regexp using new parser. Rebased patch. Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « regexp2000/src/jsregexp.cc ('k') | regexp2000/src/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: regexp2000/src/objects.h
diff --git a/regexp2000/src/objects.h b/regexp2000/src/objects.h
index a3a43abb218356596d86629de5d2ee994d7296c4..b20f93c9864cd2e2598368183fa139ce7774190e 100644
--- a/regexp2000/src/objects.h
+++ b/regexp2000/src/objects.h
@@ -2901,6 +2901,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 meant 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 };
« no previous file with comments | « regexp2000/src/jsregexp.cc ('k') | regexp2000/src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698