| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 part of dart.core_patch; | 5 part of dart.core_patch; |
| 6 | 6 |
| 7 class StringMatch implements Match { | 7 class StringMatch implements Match { |
| 8 final int start; | 8 final int start; |
| 9 final String input; | 9 final String input; |
| 10 final String pattern; | 10 final String pattern; |
| 11 | 11 |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 switch (fletch.nativeError) { | 528 switch (fletch.nativeError) { |
| 529 case fletch.wrongArgumentType: | 529 case fletch.wrongArgumentType: |
| 530 throw new ArgumentError(); | 530 throw new ArgumentError(); |
| 531 case fletch.indexOutOfBounds: | 531 case fletch.indexOutOfBounds: |
| 532 throw new IndexError(index, this); | 532 throw new IndexError(index, this); |
| 533 } | 533 } |
| 534 } | 534 } |
| 535 | 535 |
| 536 @fletch.native external static _TwoByteString _create(int length); | 536 @fletch.native external static _TwoByteString _create(int length); |
| 537 } | 537 } |
| OLD | NEW |