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

Side by Side Diff: test/comments/top_level.unit

Issue 792953003: Visit all components of dotted library name. Fixes #109. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 11 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 | « lib/src/source_visitor.dart ('k') | test/regression/109.unit » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 40 columns | 1 40 columns |
2 >>> leading whitespace before top comment is deleted 2 >>> leading whitespace before top comment is deleted
3 3
4 4
5 // comment 5 // comment
6 <<< 6 <<<
7 // comment 7 // comment
8 >>> 8 >>>
9 //comment one 9 //comment one
10 10
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 >>> two lines between library and part 157 >>> two lines between library and part
158 library foo; 158 library foo;
159 part 'a.dart'; 159 part 'a.dart';
160 <<< 160 <<<
161 library foo; 161 library foo;
162 162
163 part 'a.dart'; 163 part 'a.dart';
164 >>> before library name 164 >>> before library name
165 library/* c */foo; 165 library/* c */foo;
166 <<< 166 <<<
167 library /* c */ foo; 167 library /* c */ foo;
168 >>> block comment before "." in library
169 library a/**/.b.c;
170 <<<
171 library a /**/ .b.c;
172 >>> block comment after "." in library
173 library a./**/b.c;
174 <<<
175 library a. /**/ b.c;
176 >>> line comment before "." in library
177 library a//
178 .b.c;
179 <<<
180 library a //
181 .b.c;
182 >>> line comment after "." in library
183 library a.//
184 b.c;
185 <<<
186 library a. //
187 b.c;
OLDNEW
« no previous file with comments | « lib/src/source_visitor.dart ('k') | test/regression/109.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698