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

Side by Side Diff: pkg/compiler/lib/src/tree/dartstring.dart

Issue 1762723002: Cleanup 1: split parts into their own libraries, remove unused imports (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
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 tree; 5 import 'dart:collection';
6 import '../util/characters.dart';
6 7
7 /** 8 /**
8 * The [DartString] type represents a Dart string value as a sequence of Unicode 9 * The [DartString] type represents a Dart string value as a sequence of Unicode
9 * Scalar Values. 10 * Scalar Values.
10 * After parsing, any valid [LiteralString] will contain a [DartString] 11 * After parsing, any valid [LiteralString] will contain a [DartString]
11 * representing its content after removing quotes and resolving escapes in 12 * representing its content after removing quotes and resolving escapes in
12 * its source. 13 * its source.
13 */ 14 */
14 abstract class DartString extends IterableBase<int> { 15 abstract class DartString extends IterableBase<int> {
15 factory DartString.empty() => const LiteralDartString(""); 16 factory DartString.empty() => const LiteralDartString("");
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 value = value * 16 + hexDigitValue(source.current); 242 value = value * 16 + hexDigitValue(source.current);
242 } 243 }
243 _current = value; 244 _current = value;
244 break; 245 break;
245 default: 246 default:
246 _current = code; 247 _current = code;
247 } 248 }
248 return true; 249 return true;
249 } 250 }
250 } 251 }
251
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698