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

Side by Side Diff: tests/dartino_compiler/incremental/source_update.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 fletchc.test.source_update; 5 library dartino_compiler.test.source_update;
6 6
7 /// Returns [updates] expanded to full compilation units/source files. 7 /// Returns [updates] expanded to full compilation units/source files.
8 /// 8 ///
9 /// [updates] is a convenient way to write updates/patches to a single source 9 /// [updates] is a convenient way to write updates/patches to a single source
10 /// file without repeating common parts. 10 /// file without repeating common parts.
11 /// 11 ///
12 /// For example: 12 /// For example:
13 /// ["head ", ["v1", "v2"], " tail"] 13 /// ["head ", ["v1", "v2"], " tail"]
14 /// expands to: 14 /// expands to:
15 /// ["head v1 tail", "head v2 tail"] 15 /// ["head v1 tail", "head v2 tail"]
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 } 145 }
146 } else if (line.startsWith("<<<<")) { 146 } else if (line.startsWith("<<<<")) {
147 inDiff = true; 147 inDiff = true;
148 result.add(<StringBuffer>[new StringBuffer()]); 148 result.add(<StringBuffer>[new StringBuffer()]);
149 } else { 149 } else {
150 result.last.write(line); 150 result.last.write(line);
151 } 151 }
152 } 152 }
153 return result; 153 return result;
154 } 154 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698