| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of _js_helper; | 5 part of _js_helper; |
| 6 | 6 |
| 7 // Helper method used by internal libraries. | 7 // Helper method used by internal libraries. |
| 8 regExpGetNative(JSSyntaxRegExp regexp) => regexp._nativeRegExp; | 8 regExpGetNative(JSSyntaxRegExp regexp) => regexp._nativeRegExp; |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 _current = null; | 209 _current = null; |
| 210 _string = null; // Marks iteration as ended. | 210 _string = null; // Marks iteration as ended. |
| 211 return false; | 211 return false; |
| 212 } | 212 } |
| 213 } | 213 } |
| 214 | 214 |
| 215 /** Find the first match of [regExp] in [string] at or after [start]. */ | 215 /** Find the first match of [regExp] in [string] at or after [start]. */ |
| 216 Match firstMatchAfter(JSSyntaxRegExp regExp, String string, int start) { | 216 Match firstMatchAfter(JSSyntaxRegExp regExp, String string, int start) { |
| 217 return regExp._execGlobal(string, start); | 217 return regExp._execGlobal(string, start); |
| 218 } | 218 } |
| OLD | NEW |