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

Side by Side Diff: dart/lib/compiler/implementation/code_buffer.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, 2 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 | Annotate | Revision Log
« no previous file with comments | « dart/lib/compiler/compiler.dart ('k') | dart/lib/compiler/implementation/colors.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 dart2js;
6
7 class CodeBuffer implements StringBuffer { 5 class CodeBuffer implements StringBuffer {
8 StringBuffer buffer; 6 StringBuffer buffer;
9 List<CodeBufferMarker> markers; 7 List<CodeBufferMarker> markers;
10 int lastBufferOffset = 0; 8 int lastBufferOffset = 0;
11 int mappedRangeCounter = 0; 9 int mappedRangeCounter = 0;
12 10
13 CodeBuffer() 11 CodeBuffer()
14 : buffer = new StringBuffer(), 12 : buffer = new StringBuffer(),
15 markers = new List<CodeBufferMarker>(); 13 markers = new List<CodeBufferMarker>();
16 14
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 }); 91 });
94 } 92 }
95 } 93 }
96 94
97 class CodeBufferMarker { 95 class CodeBufferMarker {
98 final int offsetDelta; 96 final int offsetDelta;
99 final sourcePosition; 97 final sourcePosition;
100 98
101 CodeBufferMarker(this.offsetDelta, this.sourcePosition); 99 CodeBufferMarker(this.offsetDelta, this.sourcePosition);
102 } 100 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/compiler.dart ('k') | dart/lib/compiler/implementation/colors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698