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

Side by Side Diff: dart/lib/compiler/implementation/source_file.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 library source_file; 5 #library('source_file');
6 6
7 import 'dart:math'; 7 #import('dart:math');
8 8
9 import 'colors.dart' as colors; 9 #import('colors.dart', prefix: 'colors');
10 10
11 /** 11 /**
12 * Represents a file of source code. 12 * Represents a file of source code.
13 */ 13 */
14 class SourceFile { 14 class SourceFile {
15 15
16 /** The name of the file. */ 16 /** The name of the file. */
17 final String filename; 17 final String filename;
18 18
19 /** The text content of the file. */ 19 /** The text content of the file. */
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } 96 }
97 97
98 for (; i < toColumn; i++) { 98 for (; i < toColumn; i++) {
99 buf.add(color('^')); 99 buf.add(color('^'));
100 } 100 }
101 } 101 }
102 102
103 return buf.toString(); 103 return buf.toString();
104 } 104 }
105 } 105 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/script.dart ('k') | dart/lib/compiler/implementation/source_map_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698