Chromium Code Reviews| 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_ |