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

Side by Side Diff: dart/lib/compiler/implementation/tree/dartstring.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
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;
6
7 /** 5 /**
8 * The [DartString] type represents a Dart string value as a sequence of Unicode 6 * The [DartString] type represents a Dart string value as a sequence of Unicode
9 * Scalar Values. 7 * Scalar Values.
10 * After parsing, any valid [LiteralString] will contain a [DartString] 8 * After parsing, any valid [LiteralString] will contain a [DartString]
11 * representing its content after removing quotes and resolving escapes in 9 * representing its content after removing quotes and resolving escapes in
12 * its source. 10 * its source.
13 */ 11 */
14 abstract class DartString implements Iterable<int> { 12 abstract class DartString implements Iterable<int> {
15 factory DartString.empty() => const LiteralDartString(""); 13 factory DartString.empty() => const LiteralDartString("");
16 // This is a convenience constructor. If you need a const literal DartString, 14 // This is a convenience constructor. If you need a const literal DartString,
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 for (int i = 0; i < 3; i++) { 200 for (int i = 0; i < 3; i++) {
203 code = source.next(); 201 code = source.next();
204 value = value * 16 + hexDigitValue(code); 202 value = value * 16 + hexDigitValue(code);
205 } 203 }
206 return value; 204 return value;
207 } 205 }
208 return code; 206 return code;
209 } 207 }
210 } 208 }
211 209
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/tools/mini_parser.dart ('k') | dart/lib/compiler/implementation/tree/nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698