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

Unified Diff: lib/core/regexp.dart

Issue 11266050: Rename regexp methods to getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase and update status files with co19 issue number. Created 8 years, 2 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/compiler/implementation/lib/string_helper.dart ('k') | pkg/dartdoc/lib/mirrors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/regexp.dart
diff --git a/lib/core/regexp.dart b/lib/core/regexp.dart
index 5d2db7f374508c92f7b29890143527aaf7c050c6..99f8befa6e63a7104eacffe3fd33b0544fd69276 100644
--- a/lib/core/regexp.dart
+++ b/lib/core/regexp.dart
@@ -28,13 +28,13 @@ abstract class Match {
/**
* Returns the index in the string where the match starts.
*/
- int start();
+ int get start;
/**
* Returns the index in the string after the last character of the
* match.
*/
- int end();
+ int get end;
/**
* Returns the string matched by the given [group]. If [group] is 0,
@@ -52,7 +52,7 @@ abstract class Match {
/**
* Returns the number of groups in the regular expression.
*/
- int groupCount();
+ int get groupCount;
/**
* The string on which this matcher was computed.
« no previous file with comments | « lib/compiler/implementation/lib/string_helper.dart ('k') | pkg/dartdoc/lib/mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698