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

Side by Side Diff: test/regression/other/analysis_server.unit

Issue 1255643002: New, simpler and faster line splitter. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Optimize nesting. Reformat. Created 5 years, 4 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
« no previous file with comments | « test/regression/0300/0380.unit ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 >>> (indent 2) 1 >>> (indent 2)
2 main() { 2 main() {
3 List<Future<List<LocationImpl>>> nodeFutures = 3 List<Future<List<LocationImpl>>> nodeFutures =
4 <Future<List<LocationImpl>>>[]; 4 <Future<List<LocationImpl>>>[];
5 } 5 }
6 <<< 6 <<<
7 main() { 7 main() {
8 List<Future<List<LocationImpl>>> nodeFutures = 8 List<Future<List<LocationImpl>>> nodeFutures =
9 <Future<List<LocationImpl>>>[]; 9 <Future<List<LocationImpl>>>[];
10 } 10 }
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 } 159 }
160 >>> (indent 2) 160 >>> (indent 2)
161 main() { 161 main() {
162 contextsChangedRaw(new ContextsChangedEvent( 162 contextsChangedRaw(new ContextsChangedEvent(
163 added: event.added.length > 0 ? [mockContext] : [], 163 added: event.added.length > 0 ? [mockContext] : [],
164 changed: event.changed.length > 0 ? [mockContext] : [], 164 changed: event.changed.length > 0 ? [mockContext] : [],
165 removed: event.removed.length > 0 ? [mockContext] : [])); 165 removed: event.removed.length > 0 ? [mockContext] : []));
166 } 166 }
167 <<< 167 <<<
168 main() { 168 main() {
169 contextsChangedRaw( 169 contextsChangedRaw(new ContextsChangedEvent(
170 new ContextsChangedEvent( 170 added: event.added.length > 0 ? [mockContext] : [],
171 added: event.added.length > 0 ? [mockContext] : [], 171 changed: event.changed.length > 0 ? [mockContext] : [],
172 changed: event.changed.length > 0 ? [mockContext] : [], 172 removed: event.removed.length > 0 ? [mockContext] : []));
173 removed: event.removed.length > 0 ? [mockContext] : []));
174 } 173 }
175 >>> (indent 2) 174 >>> (indent 2)
176 void emitEmptyObjectClass(String className, ImpliedType impliedType) { 175 void emitEmptyObjectClass(String className, ImpliedType impliedType) {
177 docComment(toHtmlVisitor.collectHtml(() { 176 docComment(toHtmlVisitor.collectHtml(() {
178 toHtmlVisitor.p(() { 177 toHtmlVisitor.p(() {
179 toHtmlVisitor.write(impliedType.humanReadableName); 178 toHtmlVisitor.write(impliedType.humanReadableName);
180 }); 179 });
181 })); 180 }));
182 } 181 }
183 <<< 182 <<<
184 void emitEmptyObjectClass(String className, ImpliedType impliedType) { 183 void emitEmptyObjectClass(String className, ImpliedType impliedType) {
185 docComment(toHtmlVisitor.collectHtml(() { 184 docComment(toHtmlVisitor.collectHtml(() {
186 toHtmlVisitor.p(() { 185 toHtmlVisitor.p(() {
187 toHtmlVisitor.write(impliedType.humanReadableName); 186 toHtmlVisitor.write(impliedType.humanReadableName);
188 }); 187 });
189 })); 188 }));
190 } 189 }
OLDNEW
« no previous file with comments | « test/regression/0300/0380.unit ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698