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

Unified Diff: src/jsregexp.h

Issue 8188: Some new regexp infrastructure. (Closed)
Patch Set: 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
Index: src/jsregexp.h
diff --git a/src/jsregexp.h b/src/jsregexp.h
index c05380d79af0110144894182a1925cb8a4fd8b58..b855f2c0f0c68259ea0d9e9613262c40a44a21b0 100644
--- a/src/jsregexp.h
+++ b/src/jsregexp.h
@@ -125,6 +125,19 @@ class RegExpImpl {
};
+template <typename Char> class RegExpNode;
+
+
+class RegExpEngine {
Lasse Reichstein 2008/10/27 13:12:58 Should inherit AllStatic?
Christian Plesner Hansen 2008/10/27 18:57:02 Yes.
+ public:
+ template <typename Char>
+ static RegExpNode<Char>* Compile(RegExpTree* regexp);
+
+ template <typename Char>
+ static bool Execute(RegExpNode<Char>* start, Vector<Char> input);
+};
+
+
} } // namespace v8::internal
#endif // V8_JSREGEXP_H_

Powered by Google App Engine
This is Rietveld 408576698