OLD | NEW |
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; | 5 part of dart2js; |
6 | 6 |
7 class CodeBuffer implements StringBuffer { | 7 class CodeBuffer implements StringBuffer { |
8 | 8 |
9 StringBuffer buffer = new StringBuffer(); | 9 StringBuffer buffer = new StringBuffer(); |
10 List<CodeBufferMarker> markers = new List<CodeBufferMarker>(); | 10 List<CodeBufferMarker> markers = new List<CodeBufferMarker>(); |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 }); | 120 }); |
121 } | 121 } |
122 } | 122 } |
123 | 123 |
124 class CodeBufferMarker { | 124 class CodeBufferMarker { |
125 final int offsetDelta; | 125 final int offsetDelta; |
126 final sourcePosition; | 126 final sourcePosition; |
127 | 127 |
128 CodeBufferMarker(this.offsetDelta, this.sourcePosition); | 128 CodeBufferMarker(this.offsetDelta, this.sourcePosition); |
129 } | 129 } |
OLD | NEW |