| 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 _current = null; | 228 _current = null; |
| 229 _string = null; // Marks iteration as ended. | 229 _string = null; // Marks iteration as ended. |
| 230 return false; | 230 return false; |
| 231 } | 231 } |
| 232 } | 232 } |
| 233 | 233 |
| 234 /** Find the first match of [regExp] in [string] at or after [start]. */ | 234 /** Find the first match of [regExp] in [string] at or after [start]. */ |
| 235 Match firstMatchAfter(JSSyntaxRegExp regExp, String string, int start) { | 235 Match firstMatchAfter(JSSyntaxRegExp regExp, String string, int start) { |
| 236 return regExp._execGlobal(string, start); | 236 return regExp._execGlobal(string, start); |
| 237 } | 237 } |
| OLD | NEW |