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

Side by Side Diff: corelib/src/implementation/regexp.dart

Issue 10880020: Use patching for regexp implementation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Hack to VM patching. Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012, 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 class JSSyntaxRegExp implements RegExp {
6 external const JSSyntaxRegExp(String pattern,
7 [bool multiLine, bool ignoreCase]);
8 external Match firstMatch(String str);
9 external Iterable<Match> allMatches(String str);
10 external bool hasMatch(String str);
11 external String stringMatch(String str);
12 external String get pattern();
Lasse Reichstein Nielsen 2012/08/23 09:24:06 Can you remove the parentheses on the getters?
Mads Ager (google) 2012/08/23 09:38:23 Just tried and the answer is no apparently. Build
13 external bool get multiLine();
14 external bool get ignoreCase();
15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698