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

Unified Diff: src/interpreter-re2k.h

Issue 9415: Add bytecodes and an interpreter for executing regular expressions. Very... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/regexp2000/
Patch Set: '' Created 12 years, 1 month 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 | « src/bytecodes-re2k.h ('k') | src/interpreter-re2k.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter-re2k.h
===================================================================
--- src/interpreter-re2k.h (revision 0)
+++ src/interpreter-re2k.h (revision 0)
@@ -0,0 +1,19 @@
+// Copyright 2006-2008 the V8 project authors. All rights reserved.
+
+// A simple interpreter for the Regexp2000 byte code.
+
+#ifndef V8_INTERPRETER_RE2K_H_
+#define V8_INTERPRETER_RE2K_H_
+
+namespace v8 { namespace internal {
+
+
+class Re2kInterpreter {
+ public:
+ static bool Match(ByteArray* code, String* subject, int* captures, int start_position);
+};
+
+
+} } // namespace v8::internal
+
+#endif // V8_INTERPRETER_RE2K_H_
« no previous file with comments | « src/bytecodes-re2k.h ('k') | src/interpreter-re2k.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698