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

Unified Diff: lib/core/regexp.dart

Issue 10917187: First partial step at removing interfaces in libraries. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « lib/core/pattern.dart ('k') | lib/mirrors/mirrors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/regexp.dart
===================================================================
--- lib/core/regexp.dart (revision 12179)
+++ lib/core/regexp.dart (working copy)
@@ -24,7 +24,7 @@
* my
* string
*/
-interface Match {
+abstract class Match {
/**
* Returns the index in the string where the match starts.
*/
@@ -57,12 +57,12 @@
/**
* The string on which this matcher was computed.
*/
- final String str;
+ String get str;
/**
* The pattern to search for in [str].
*/
- final Pattern pattern;
+ Pattern get pattern;
}
@@ -117,15 +117,15 @@
/**
* The pattern of this regular expression.
*/
- final String pattern;
+ String get pattern;
/**
* Whether this regular expression matches multiple lines.
*/
- final bool multiLine;
+ bool get multiLine;
/**
* Whether this regular expression is case insensitive.
*/
- final bool ignoreCase;
+ bool get ignoreCase;
}
« no previous file with comments | « lib/core/pattern.dart ('k') | lib/mirrors/mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698