| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 2 // for details. All rights reserved. Use of this source code is governed by a | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 #ifndef LIB_REGEXP_JSC_H_ | |
| 6 #define LIB_REGEXP_JSC_H_ | |
| 7 | |
| 8 #include "vm/object.h" | |
| 9 | |
| 10 | |
| 11 namespace dart { | |
| 12 | |
| 13 class Jscre : public AllStatic { | |
| 14 public: | |
| 15 static RawJSRegExp* Compile(const String& pattern, | |
| 16 bool multi_line, | |
| 17 bool ignore_case); | |
| 18 static RawArray* Execute(const JSRegExp& regex, | |
| 19 const String& str, | |
| 20 intptr_t index); | |
| 21 }; | |
| 22 | |
| 23 } // namespace dart | |
| 24 | |
| 25 #endif // LIB_REGEXP_JSC_H_ | |
| OLD | NEW |