| Index: lib/compiler/implementation/lib/string_helper.dart
|
| diff --git a/lib/compiler/implementation/lib/string_helper.dart b/lib/compiler/implementation/lib/string_helper.dart
|
| index 9eb839435d13bad5ba2e22fc42063386d39da6de..eaf132c1b25710435aa79aa800baa06be5f64fa1 100644
|
| --- a/lib/compiler/implementation/lib/string_helper.dart
|
| +++ b/lib/compiler/implementation/lib/string_helper.dart
|
| @@ -3,14 +3,13 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| class StringMatch implements Match {
|
| - const StringMatch(int this._start,
|
| + const StringMatch(int this.start,
|
| String this.str,
|
| String this.pattern);
|
|
|
| - int start() => _start;
|
| - int end() => _start + pattern.length;
|
| + int get end => start + pattern.length;
|
| String operator[](int g) => group(g);
|
| - int groupCount() => 0;
|
| + int get groupCount => 0;
|
|
|
| String group(int group_) {
|
| if (group_ != 0) {
|
| @@ -27,7 +26,7 @@ class StringMatch implements Match {
|
| return result;
|
| }
|
|
|
| - final int _start;
|
| + final int start;
|
| final String str;
|
| final String pattern;
|
| }
|
|
|