Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1288)

Side by Side Diff: sdk/lib/core/string.dart

Issue 2880543002: Revert "Change some platform libraries to use `part of URI`." (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sdk/lib/core/stopwatch.dart ('k') | sdk/lib/core/string_buffer.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "dart:core"; 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
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 }
OLDNEW
« no previous file with comments | « sdk/lib/core/stopwatch.dart ('k') | sdk/lib/core/string_buffer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698