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 "core.dart"; | 5 part of "dart:core"; |
6 | 6 |
7 /** | 7 /** |
8 * A sequence of characters. | 8 * A sequence of characters. |
9 * | 9 * |
10 * A string can be either single or multiline. Single line strings are | 10 * A string can be either single or multiline. Single line strings are |
11 * written using matching single or double quotes, and multiline strings are | 11 * written using matching single or double quotes, and multiline strings are |
12 * written using triple quotes. The following are all valid Dart strings: | 12 * written using triple quotes. The following are all valid Dart strings: |
13 * | 13 * |
14 * 'Single quotes'; | 14 * 'Single quotes'; |
15 * "Double quotes"; | 15 * "Double quotes"; |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 _position = position - 1; | 795 _position = position - 1; |
796 _currentCodePoint = _combineSurrogatePair(prevCodeUnit, codeUnit); | 796 _currentCodePoint = _combineSurrogatePair(prevCodeUnit, codeUnit); |
797 return true; | 797 return true; |
798 } | 798 } |
799 } | 799 } |
800 _position = position; | 800 _position = position; |
801 _currentCodePoint = codeUnit; | 801 _currentCodePoint = codeUnit; |
802 return true; | 802 return true; |
803 } | 803 } |
804 } | 804 } |
OLD | NEW |